Skip to content

Commit 2abe2ff

Browse files
committed
8339235: Fix indentation in build system
Reviewed-by: erikj
1 parent bb28b0d commit 2abe2ff

25 files changed

+122
-111
lines changed

make/CompileInterimLangtools.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.ja
6565
$(SED) $(INTERIM_TOOL_PROVIDER_PATTERN) $< > $@
6666

6767
java.compiler.interim_EXTRA_FILES := \
68-
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
68+
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
6969

7070
TARGETS += $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
7171

make/CompileJavaModules.gmk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ $(JDK_OUTPUTDIR)/modules/%_zh_HK.properties: $(JDK_OUTPUTDIR)/modules/%_zh_TW.pr
7575

7676
CreateHkTargets = \
7777
$(call FilterExcludedTranslations, \
78-
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
79-
$(subst /share/classes,, \
80-
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
81-
) \
82-
), \
83-
.properties \
78+
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
79+
$(subst /share/classes,, \
80+
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
81+
) \
82+
), \
83+
.properties \
8484
)
8585

8686
################################################################################

make/InitSupport.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ ifeq ($(HAS_SPEC),)
205205
ifeq ($$(patsubst !%,,$$(CONF)),)
206206
# A CONF starting with ! means we should negate the search term
207207
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
208-
$$(if $$(findstring $$(subst !,,$$(CONF)), $$(var)), ,$$(var))))
208+
$$(if $$(findstring $$(subst !,,$$(CONF)), $$(var)), ,$$(var))))
209209
else
210210
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
211211
$$(if $$(findstring $$(CONF), $$(var)), $$(var))))

make/autoconf/basic_tools.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
129129
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
130130
MAKE_VERSION_EXPR="-e 4\."
131131
MAKE_REQUIRED_VERSION="4.0"
132-
else
132+
else
133133
MAKE_VERSION_EXPR="-e 3\.8[[12]] -e 4\."
134134
MAKE_REQUIRED_VERSION="3.81"
135135
fi

make/autoconf/boot-jdk.m4

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,12 @@ AC_DEFUN([BOOTJDK_SETUP_BUILD_JDK],
602602
BUILD_JDK_FOUND="no"
603603
if test "x$with_build_jdk" != "x"; then
604604
BOOTJDK_CHECK_BUILD_JDK([
605-
if test "x$with_build_jdk" != x; then
606-
BUILD_JDK=$with_build_jdk
607-
BUILD_JDK_FOUND=maybe
608-
AC_MSG_NOTICE([Found potential Build JDK using configure arguments])
609-
fi])
605+
if test "x$with_build_jdk" != x; then
606+
BUILD_JDK=$with_build_jdk
607+
BUILD_JDK_FOUND=maybe
608+
AC_MSG_NOTICE([Found potential Build JDK using configure arguments])
609+
fi
610+
])
610611
EXTERNAL_BUILDJDK=true
611612
else
612613
if test "x$COMPILE_TYPE" = "xcross"; then

make/autoconf/flags-ldflags.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
168168
169169
# MIPS ABI does not support GNU hash style
170170
if test "x${OPENJDK_$1_CPU}" = xmips ||
171-
test "x${OPENJDK_$1_CPU}" = xmipsel ||
172-
test "x${OPENJDK_$1_CPU}" = xmips64 ||
173-
test "x${OPENJDK_$1_CPU}" = xmips64el; then
171+
test "x${OPENJDK_$1_CPU}" = xmipsel ||
172+
test "x${OPENJDK_$1_CPU}" = xmips64 ||
173+
test "x${OPENJDK_$1_CPU}" = xmips64el; then
174174
$1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=sysv"
175175
else
176176
$1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=gnu"

make/autoconf/jdk-options.m4

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
235235
else
236236
HOTSPOT_OVERRIDE_LIBPATH=${with_jni_libpath}
237237
if test "x$OPENJDK_TARGET_OS" != "xlinux" &&
238-
test "x$OPENJDK_TARGET_OS" != "xbsd" &&
239-
test "x$OPENJDK_TARGET_OS" != "xaix"; then
238+
test "x$OPENJDK_TARGET_OS" != "xbsd" &&
239+
test "x$OPENJDK_TARGET_OS" != "xaix"; then
240240
AC_MSG_RESULT([fail])
241241
AC_MSG_ERROR([Overriding JNI library path is supported only on Linux, BSD and AIX.])
242242
fi
@@ -421,8 +421,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
421421
CHECK_AVAILABLE: [
422422
AC_MSG_CHECKING([if AddressSanitizer (asan) is available])
423423
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
424-
test "x$TOOLCHAIN_TYPE" = "xclang" ||
425-
test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
424+
test "x$TOOLCHAIN_TYPE" = "xclang" ||
425+
test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
426426
AC_MSG_RESULT([yes])
427427
else
428428
AC_MSG_RESULT([no])
@@ -431,7 +431,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
431431
],
432432
IF_ENABLED: [
433433
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
434-
test "x$TOOLCHAIN_TYPE" = "xclang"; then
434+
test "x$TOOLCHAIN_TYPE" = "xclang"; then
435435
# ASan is simply incompatible with gcc -Wstringop-truncation. See
436436
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85650
437437
# It's harmless to be suppressed in clang as well.
@@ -707,9 +707,8 @@ AC_DEFUN([JDKOPT_ALLOW_ABSOLUTE_PATHS_IN_OUTPUT],
707707
[
708708
AC_ARG_ENABLE([absolute-paths-in-output],
709709
[AS_HELP_STRING([--disable-absolute-paths-in-output],
710-
[Set to disable to prevent any absolute paths from the build to end up in
711-
any of the build output. @<:@disabled in release builds, otherwise enabled@:>@])
712-
])
710+
[Set to disable to prevent any absolute paths from the build to end up in
711+
any of the build output. @<:@disabled in release builds, otherwise enabled@:>@])])
713712
714713
AC_MSG_CHECKING([if absolute paths should be allowed in the build output])
715714
if test "x$enable_absolute_paths_in_output" = "xno"; then

make/autoconf/jdk-version.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
9393
UTIL_ARG_WITH(NAME: jdk-rc-name, TYPE: string,
9494
DEFAULT: $PRODUCT_NAME $JDK_RC_PLATFORM_NAME,
9595
DESC: [Set JDK RC name. This is used for FileDescription and ProductName
96-
properties of MS Windows binaries.],
96+
properties of MS Windows binaries.],
9797
DEFAULT_DESC: [from branding.conf],
9898
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
9999
AC_SUBST(JDK_RC_NAME)
@@ -105,7 +105,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
105105
RESULT: COMPANY_NAME,
106106
DEFAULT: $COMPANY_NAME,
107107
DESC: [Set vendor name. Among others, used to set the 'java.vendor'
108-
and 'java.vm.vendor' system properties.],
108+
and 'java.vm.vendor' system properties.],
109109
DEFAULT_DESC: [from branding.conf],
110110
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
111111
AC_SUBST(COMPANY_NAME)

make/autoconf/lib-bundled.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ AC_DEFUN_ONCE([LIB_SETUP_GIFLIB],
119119
AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
120120
[
121121
AC_ARG_WITH(libpng, [AS_HELP_STRING([--with-libpng],
122-
[use libpng from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
122+
[use libpng from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
123123
124124
PKG_CHECK_MODULES(PNG, libpng, [LIBPNG_FOUND=yes], [LIBPNG_FOUND=no])
125125
AC_MSG_CHECKING([for which libpng to use])

make/autoconf/lib-freetype.m4

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
7373
[
7474
AC_ARG_WITH(freetype, [AS_HELP_STRING([--with-freetype],
7575
[specify whether to use 'system' or 'bundled' freetype.
76-
The selected option applies to both build time and run time.
77-
The default behaviour can be platform dependent.
78-
If using 'system' and either the include files or libraries cannot be
79-
located automatically, then additionally specify both using
80-
--with-freetype-include and --with-freetype-lib.])])
76+
The selected option applies to both build time and run time.
77+
The default behaviour can be platform dependent.
78+
If using 'system' and either the include files or libraries cannot be
79+
located automatically, then additionally specify both using
80+
--with-freetype-include and --with-freetype-lib.])])
8181
AC_ARG_WITH(freetype-include, [AS_HELP_STRING([--with-freetype-include],
8282
[specify directory for the freetype include files])])
8383
AC_ARG_WITH(freetype-lib, [AS_HELP_STRING([--with-freetype-lib],
@@ -95,8 +95,10 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
9595
FREETYPE_CFLAGS=
9696
FREETYPE_LIBS=
9797
98-
if (test "x$with_freetype_include" = "x" && test "x$with_freetype_lib" != "x") || \
99-
(test "x$with_freetype_include" != "x" && test "x$with_freetype_lib" = "x"); then
98+
if (test "x$with_freetype_include" = "x" && \
99+
test "x$with_freetype_lib" != "x") || \
100+
(test "x$with_freetype_include" != "x" && \
101+
test "x$with_freetype_lib" = "x"); then
100102
AC_MSG_ERROR([Must specify both or neither of --with-freetype-include and --with-freetype-lib])
101103
fi
102104
@@ -126,8 +128,8 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
126128
fi
127129
128130
if test "x$FREETYPE_TO_USE" = "xsystem" && \
129-
(test "x$OPENJDK_TARGET_OS" = "xwindows" || \
130-
test "x$OPENJDK_TARGET_OS" = "xmacosx"); then
131+
(test "x$OPENJDK_TARGET_OS" = "xwindows" || \
132+
test "x$OPENJDK_TARGET_OS" = "xmacosx"); then
131133
AC_MSG_ERROR([Only bundled freetype can be specified on Mac and Windows])
132134
fi
133135

make/autoconf/lib-hsdis.m4

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
163163
164164
# We don't know the version, not checking for libsframe.a
165165
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
166-
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
167-
test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
166+
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
167+
test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
168168
AC_MSG_NOTICE([Found binutils binaries in binutils install directory -- not building])
169169
else
170170
# On Windows, we cannot build with the normal Microsoft CL, but must instead use
@@ -267,8 +267,10 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
267267
elif test "x$BINUTILS_INSTALL_DIR" != x; then
268268
disasm_header="\"$BINUTILS_INSTALL_DIR/include/dis-asm.h\""
269269
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
270-
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
271-
(test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a || test -e $BINUTILS_INSTALL_DIR/lib64/libiberty.a || test -e $BINUTILS_INSTALL_DIR/lib32/libiberty.a); then
270+
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
271+
(test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a || \
272+
test -e $BINUTILS_INSTALL_DIR/lib64/libiberty.a || \
273+
test -e $BINUTILS_INSTALL_DIR/lib32/libiberty.a); then
272274
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB -I$BINUTILS_INSTALL_DIR/include"
273275
274276
# libiberty ignores --libdir and may be installed in $BINUTILS_INSTALL_DIR/lib, $BINUTILS_INSTALL_DIR/lib32

make/autoconf/libraries.m4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ AC_DEFUN([LIB_SETUP_JVM_LIBS],
9999
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
100100
if test "x$OPENJDK_$1_OS" = xlinux &&
101101
(test "x$OPENJDK_$1_CPU" = xarm ||
102-
test "x$OPENJDK_$1_CPU" = xm68k ||
103-
test "x$OPENJDK_$1_CPU" = xmips ||
104-
test "x$OPENJDK_$1_CPU" = xmipsel ||
105-
test "x$OPENJDK_$1_CPU" = xppc ||
106-
test "x$OPENJDK_$1_CPU" = xsh ||
107-
test "x$OPENJDK_$1_CPU" = xriscv32); then
102+
test "x$OPENJDK_$1_CPU" = xm68k ||
103+
test "x$OPENJDK_$1_CPU" = xmips ||
104+
test "x$OPENJDK_$1_CPU" = xmipsel ||
105+
test "x$OPENJDK_$1_CPU" = xppc ||
106+
test "x$OPENJDK_$1_CPU" = xsh ||
107+
test "x$OPENJDK_$1_CPU" = xriscv32); then
108108
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
109109
fi
110110
fi

make/autoconf/platform.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
390390
AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
391391
[
392392
AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
393-
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
393+
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
394394
395395
# We have three types of compiles:
396396
# native == normal compilation, target system == build system
@@ -665,7 +665,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
665665
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
666666
[
667667
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
668-
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
668+
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
669669
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$OPENJDK_TARGET_CPU" = xx86; then
670670
if test "x$enable_deprecated_ports" = "xyes"; then
671671
AC_MSG_WARN([The Windows 32-bit x86 port is deprecated and may be removed in a future release.])

make/autoconf/toolchain_microsoft.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
161161
# version, pass -vcvars_ver=<toolset_version> argument to vcvarsall.bat.
162162
AC_ARG_WITH(msvc-toolset-version, [AS_HELP_STRING([--with-msvc-toolset-version],
163163
[specific MSVC toolset version to use, passed as -vcvars_ver argument to
164-
pass to vcvarsall.bat (Windows only)])])
164+
pass to vcvarsall.bat (Windows only)])])
165165
166166
TARGET_CPU="$1"
167167
VS_VERSION="$2"

make/common/FindTests.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $(foreach root, $(JTREG_TESTROOTS), \
5656
$(eval include $(root)/TEST.ROOT) \
5757
$(eval $(root)_JTREG_GROUP_FILES := $$(addprefix $(root)/, $$(groups))) \
5858
$(eval JTREG_GROUP_FILES += $$($(root)_JTREG_GROUP_FILES)) \
59-
) \
59+
) \
6060
)
6161

6262
# Cache the expensive to calculate test names in a generated makefile.

make/common/JavaCompilation.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ define SetupJavaCompilationBody
255255
$1_JAVAC := $$(INTERIM_LANGTOOLS_ARGS) -m jdk.compiler.interim/com.sun.tools.javac.Main
256256

257257
ifeq ($$($1_SMALL_JAVA), true)
258-
$1_JAVAC_CMD := $$(JAVA_SMALL) $$($1_JAVA_FLAGS) $$($1_JAVAC)
258+
$1_JAVAC_CMD := $$(JAVA_SMALL) $$($1_JAVA_FLAGS) $$($1_JAVAC)
259259
else
260-
$1_JAVAC_CMD := $$(JAVA) $$($1_JAVA_FLAGS) $$($1_JAVAC)
260+
$1_JAVAC_CMD := $$(JAVA) $$($1_JAVA_FLAGS) $$($1_JAVAC)
261261
endif
262262
endif
263263

make/common/JdkNativeCompilation.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ define AddJdkLibrary
196196
# Determine if the library in question is static.
197197
# Ideally, we should not hardcode these
198198
ifeq ($(call isTargetOs, aix)+$$($1_$2_MODULE):$$($1_$2_NAME), true+java.base:jli)
199-
$1_$2_STATIC_LIBRARY := true
199+
$1_$2_STATIC_LIBRARY := true
200200
endif
201201
ifeq ($$($1_$2_MODULE):$$($1_$2_NAME), gtest:gtest)
202-
$1_$2_STATIC_LIBRARY := true
202+
$1_$2_STATIC_LIBRARY := true
203203
endif
204204

205205
# Setup $1_$2_LIBPATH.

make/common/MakeBase.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ DependOnVariableFileName = \
247247
DependOnVariableWriteFile = \
248248
$(call MakeDir, $(dir $($1_filename))) \
249249
$(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
250-
$($1_filename)) \
250+
$($1_filename)) \
251251

252252
# Does the actual work with parameters stripped.
253253
# If the file exists AND the contents is the same as the variable, do nothing

make/common/Modules.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ FindTransitiveDepsForModule = \
221221
$(foreach m, $(call FindDepsForModule, $1), \
222222
$(call FindDepsForModule, $m) \
223223
$(foreach n, $(call FindDepsForModule, $m), \
224-
$(call FindDepsForModule, $n))))
224+
$(call FindDepsForModule, $n))))
225225

226226
# Find dependencies ("requires") transitively in 3 levels for a set of modules.
227227
# Param 1: List of modules to find dependencies for.
@@ -240,7 +240,7 @@ FindTransitiveIndirectDepsForModule = \
240240
$(foreach m, $(call FindIndirectExportsForModule, $1), \
241241
$(call FindIndirectExportsForModule, $m) \
242242
$(foreach n, $(call FindIndirectExportsForModule, $m), \
243-
$(call FindIndirectExportsForModule, $n))))
243+
$(call FindIndirectExportsForModule, $n))))
244244

245245
# Finds indirect exported modules transitively in 3 levels for a set of modules.
246246
# Param 1: List of modules to find indirect exported modules for.

make/common/Utils.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ Or = \
270270
ifeq ($(IS_GNU_DATE), yes)
271271
EpochToISO8601 = \
272272
$(shell $(DATE) --utc --date="@$(strip $1)" \
273-
+"$(ISO_8601_FORMAT_STRING)" 2> /dev/null)
273+
+"$(ISO_8601_FORMAT_STRING)" 2> /dev/null)
274274
else
275275
EpochToISO8601 = \
276276
$(shell $(DATE) -u -j -f "%s" "$(strip $1)" \
277-
+"$(ISO_8601_FORMAT_STRING)" 2> /dev/null)
277+
+"$(ISO_8601_FORMAT_STRING)" 2> /dev/null)
278278
endif
279279

280280
################################################################################

make/common/native/DebugSymbols.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ define CreateDebugSymbols
9494

9595
$1 += $$($1_DEBUGINFO_ZIP)
9696
endif
97-
endif # !STATIC_LIBRARY
97+
endif # !STATIC_LIBRARY
9898
endif # $1_DEBUG_SYMBOLS != false
9999
endif # COPY_DEBUG_SYMBOLS
100100
endef

make/hotspot/gensrc/GensrcAdlc.gmk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@ ifeq ($(call check-jvm-feature, compiler2), true)
204204

205205
INSERT_FILENAME_AWK_SCRIPT := \
206206
'{ \
207-
if (CUR_FN != FILENAME) { CUR_FN=FILENAME; NR_BASE=NR-1; need_lineno=1 } \
208-
if (need_lineno && $$0 !~ /\/\//) \
209-
{ print "\n\n\#line " (NR-NR_BASE) " \"" FILENAME "\""; need_lineno=0 }; \
210-
print \
211-
}'
207+
if (CUR_FN != FILENAME) { CUR_FN=FILENAME; NR_BASE=NR-1; need_lineno=1 } \
208+
if (need_lineno && $$0 !~ /\/\//) \
209+
{ print "\n\n\#line " (NR-NR_BASE) " \"" FILENAME "\""; need_lineno=0 }; \
210+
print \
211+
}'
212212

213213
$(SINGLE_AD_SRCFILE): $(AD_SRC_FILES)
214214
$(call LogInfo, Preprocessing adlc files $(^F))

0 commit comments

Comments
 (0)