aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-12-15 14:12:25 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-15 14:12:28 +0100
commitdfa24dd8f77edd7102eb21025e4428344d5b60c3 (patch)
tree2d53b086fea02f4820a371acc40585e6bc6324f1
parent1dad092caf01d733990648e6df64cbf964df5143 (diff)
downloadnx-libs-dfa24dd8f77edd7102eb21025e4428344d5b60c3.tar.gz
nx-libs-dfa24dd8f77edd7102eb21025e4428344d5b60c3.tar.bz2
nx-libs-dfa24dd8f77edd7102eb21025e4428344d5b60c3.zip
nx-X11/config/cf/linux.cf: don't override default CC options for {ARM,PPC}{32,64}.
We need -std=c99 to be passed through to the build process.
-rw-r--r--nx-X11/config/cf/linux.cf5
1 files changed, 1 insertions, 4 deletions
diff --git a/nx-X11/config/cf/linux.cf b/nx-X11/config/cf/linux.cf
index 41c85f3c3..9a638ae3c 100644
--- a/nx-X11/config/cf/linux.cf
+++ b/nx-X11/config/cf/linux.cf
@@ -698,7 +698,6 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
#endif /* HPArchitecture */
#ifdef Arm32Architecture
-# define DefaultCCOptions
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags -O3
# endif
@@ -708,7 +707,6 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
#endif /* Arm32Achitecture */
#ifdef Arm64Architecture
-# define DefaultCCOptions
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags -O3
# endif
@@ -767,7 +765,7 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
#endif
#ifdef Ppc64Architecture
-# define DefaultCCOptions -mminimal-toc
+# define DefaultCCOptions DefaultCCOptions -mminimal-toc
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags DefaultGcc2Ppc64Opt
# endif
@@ -777,7 +775,6 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
#endif /* Ppc64Architecture */
#ifdef PpcArchitecture
-# define DefaultCCOptions
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags DefaultGcc2PpcOpt
# endif