ports/devel/gnulibiberty/files/patch-libiberty-Makefile.in
Joerg Wunsch 076cd16c61 devel/gnulibiberty: Upgrade to 2.37
Unfortunately, we need a patch now as their Makefile relies
on GCC's -print-multi-os-directory switch.
2021-12-21 10:48:51 +01:00

15 lines
629 B
Plaintext

--- Makefile.in~ 2021-07-08 13:37:21.000000000 +0200
+++ Makefile.in 2021-12-21 10:13:14.973574000 +0100
@@ -367,7 +367,10 @@
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
# default multilib, so we have to take CFLAGS into account as well,
# since it will be passed the multilib flags.
-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
+#
+# XXX Clang does not support -print-multi-os-directory
+MULTIOSDIR = .
+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
install_to_libdir: all
if test -n "${target_header_dir}"; then \
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \