Skip to content
Snippets Groups Projects
Commit 1bb11928 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

remove -Wno-clobbered from CFLAGS

it breaks the build with clang.
parent 1e7f32f5
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,7 @@ if env['CC'] == 'cl': ...@@ -119,7 +119,7 @@ if env['CC'] == 'cl':
) )
else: else:
# -Wno-clobbered only really works with gcc >= 4.2.x, but ... scons # -Wno-clobbered only really works with gcc >= 4.2.x, but ... scons
env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable -Wno-clobbered') env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable')
# Linker options # Linker options
if env['PLATFORM'] == 'darwin': if env['PLATFORM'] == 'darwin':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment