aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-04 16:12:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 14:53:05 +0200
commit28ba877803d8383eac282b873b8e0bb50c8db46b (patch)
tree54c92372dec423860ae4b46cd9f608d7ca02330e
parent101c895e6a0d1f9a91878043ad2684971efaebdf (diff)
downloadnx-libs-28ba877803d8383eac282b873b8e0bb50c8db46b.tar.gz
nx-libs-28ba877803d8383eac282b873b8e0bb50c8db46b.tar.bz2
nx-libs-28ba877803d8383eac282b873b8e0bb50c8db46b.zip
gcc: Build using -std=c99 instead of -ansi.
-rw-r--r--nx-X11/config/cf/xorg.cf4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf
index 8e2604c4a..a6eaddc72 100644
--- a/nx-X11/config/cf/xorg.cf
+++ b/nx-X11/config/cf/xorg.cf
@@ -786,9 +786,9 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
# endif
# ifndef DefaultCCOptions
# if defined(UseInstalled)
-# define DefaultCCOptions /* -ansi */
+# define DefaultCCOptions /* -std=c99 */
# else
-# define DefaultCCOptions -ansi GccWarningOptions
+# define DefaultCCOptions -std=c99 GccWarningOptions
# endif
# endif
# if defined(UseInstalled)