summaryrefslogtreecommitdiff
path: root/net/nxproxy/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/nxproxy/files')
-rw-r--r--net/nxproxy/files/patch-nxcomp-configure.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/nxproxy/files/patch-nxcomp-configure.in b/net/nxproxy/files/patch-nxcomp-configure.in
new file mode 100644
index 000000000000..f8382cb9c7c7
--- /dev/null
+++ b/net/nxproxy/files/patch-nxcomp-configure.in
@@ -0,0 +1,23 @@
+--- ../nxcomp/configure.in.orig 2011-06-21 15:06:20.000000000 +0200
++++ ../nxcomp/configure.in 2011-06-21 15:07:01.000000000 +0200
+@@ -5,11 +5,6 @@
+ AC_INIT(NX.h)
+ AC_PREREQ(2.13)
+
+-dnl Set our default compilation flags.
+-
+-CXXFLAGS="-O3 -fno-rtti -fno-exceptions"
+-CFLAGS="-O3"
+-
+ dnl Reset default linking directives.
+
+ LIBSTATIC=""
+@@ -49,7 +44,7 @@
+ dnl Check for programs.
+
+ AC_PROG_CXX
+-AC_PROG_CC
++AC_PROG_CC([clang gcc cc])
+ AC_LANG_CPLUSPLUS
+
+ dnl Check whether option -Wno-deprecated