diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-29 11:57:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-29 11:57:02 +0300 |
commit | 029bd44bbd0fc6c1c59c6cb37f9e70c4dd23f91d (patch) | |
tree | bd092efdff29adef883b68bdb41fc7b4023d2f02 /build_files/scons/config | |
parent | f4d7f5216fe45a171bb92add0446dc7409c7b542 (diff) |
SCons: Fix wrong flags usage after recent stdc89 changes
CCFLAGS are used for both C and C++ compilers and one is better not to pass
C-related flags to C++ compiler. C-compiler flags are to be passed via CFLAGS
variable.
Diffstat (limited to 'build_files/scons/config')
-rw-r--r-- | build_files/scons/config/linux-config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_files/scons/config/linux-config.py b/build_files/scons/config/linux-config.py index c3f0c434081..63531200d7c 100644 --- a/build_files/scons/config/linux-config.py +++ b/build_files/scons/config/linux-config.py @@ -230,7 +230,8 @@ WITH_BF_FREESTYLE = True CC = 'gcc' CXX = 'g++' -CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-std=gnu89', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE'] +CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE'] +CFLAGS = ['-std=gnu89'] CXXFLAGS = [] CPPFLAGS = [] |