summaryrefslogtreecommitdiff
path: root/media-gfx/xpaint/files/xpaint-2.10.2-libtool-clang.patch
blob: d6a3dab078304e9255ba62263b692b9d4cdd45e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
libtool doesn't work if compiling with clang.  Need to add --tag=CC
See bug https://bugs.gentoo.org/731010
--- a/xpaintrw/Makefile.am
+++ b/xpaintrw/Makefile.am
@@ -25,7 +25,7 @@
 
 xpaint_DEFINES = $(ARCH_DEFINES) $(EXTRA_DEFINES) $(XAWLIB_DEFINES)
 
-LIBTOOL = /usr/bin/libtool
+LIBTOOL = /usr/bin/libtool --tag=CC
 AM_CFLAGS   = @X_CFLAGS@ @SPECIAL_CFLAGS@ $(xpaint_DEFINES)
 AM_YFLAGS     = -d
 CLEANFILES    =