diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2025-07-21 23:48:43 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2025-07-22 14:54:24 +0200 |
commit | 1944817240eeea5c044995e45a771a5a5193ecf1 (patch) | |
tree | 62886700d43b3c760055f6cfa3cc7816cd9cf2b7 | |
parent | 58d0ef79898eed5415c0dd4d3c9eda6c3c314daf (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
Up to Make 4.2, # is treated as the start of a comment even in
function invocations. This leads to a syntax error. Fixed in Make 4.3,
but we still support versions back to 4.0 at the moment.
Tested on Gentoo (x86-64) and Debian (loongarch64)
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
-rw-r--r-- | Makeconfig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -718,7 +718,7 @@ libgcc_eh := -Wl,--as-needed -lgcc_s $(libunwind) -Wl,--no-as-needed gnulib-arch = gnulib = -lgcc $(gnulib-arch) gnulib-tests := -lgcc $(libgcc_eh) -gnulib-extralibdir = $(shell $(CC) -print-file-name=libgcc_s.so$(libgcc_s.so-version) | sed 's#/[^/]*$$##') +gnulib-extralibdir = $(dir $(shell $(CC) -print-file-name=libgcc_s.so$(libgcc_s.so-version))) static-gnulib-arch = # By default, elf/static-stubs.o, instead of -lgcc_eh, is used to # statically link programs. When --disable-shared is used, we use |