diff options
Diffstat (limited to 'media-gfx/sam2p/files')
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch b/media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch new file mode 100644 index 000000000000..0d8e769e903d --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/827925 +--- a/configure.in ++++ b/configure.in +@@ -79,11 +79,11 @@ else + fi + + dnl Checks for programs. + dnl AC_PROG_CC + AC_LANG_CPLUSPLUS +-CXXFLAGS=" " ++CXXFLAGS="-fPIC" + dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g' + CCC="$CCC g++" + dnl ^^^ check g++ before c++ (see acspecific.m4, grep AC_PROG_CXX) + AC_PROG_CXX |