diff options
-rw-r--r-- | scons/gallium.py | 1 | ||||
-rw-r--r-- | src/mesa/SConscript | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 1136d269089..19eeb18be85 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -311,6 +311,7 @@ def generate(env): '-Wmissing-prototypes', '-Wno-long-long', '-ffast-math', + '-std=c99', '-pedantic', '-fmessage-length=0', # be nice to Eclipse ] diff --git a/src/mesa/SConscript b/src/mesa/SConscript index a690d576b15..72ddc341d19 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript @@ -12,11 +12,6 @@ if env['platform'] != 'winddk': '#/src/mesa', ]) - if gcc: - env.Append(CFLAGS = [ - '-std=c99', - ]) - # # Source files # @@ -164,6 +159,7 @@ if env['platform'] != 'winddk': 'state_tracker/st_context.c', 'state_tracker/st_debug.c', 'state_tracker/st_draw.c', + 'state_tracker/st_draw_feedback.c', 'state_tracker/st_extensions.c', 'state_tracker/st_format.c', 'state_tracker/st_framebuffer.c', |