mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
For clang, stop adding -fno-tree-ter to CFLAGS, since it will cause an
error message for clang 3.4 and later. Approved by: portmgr (bdrewery)
This commit is contained in:
parent
4e50dfc652
commit
5503dc1f92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342312
11
x11-toolkits/open-motif/files/patch-configure.ac
Normal file
11
x11-toolkits/open-motif/files/patch-configure.ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.ac.orig 2012-10-22 16:50:39.000000000 +0200
|
||||
+++ configure.ac 2014-01-27 22:38:58.000000000 +0100
|
||||
@@ -164,7 +164,7 @@
|
||||
if test x$GCC = xyes
|
||||
then
|
||||
CFLAGS="$CFLAGS -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment"
|
||||
- if test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then
|
||||
+ if ! $CC -v 2>&1 | grep clang > /dev/null && test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then
|
||||
CFLAGS="$CFLAGS -fno-tree-ter"
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue
Block a user