Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
d312922a
Commit
d312922a
authored
Nov 25, 2014
by
Matthias Braun
Browse files
configure: fix cflags not getting set in all variants
parent
5a701e67
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
d312922a
...
...
@@ -20,7 +20,6 @@ cflags_warnings = ["-Wall", "-W", "-Wextra", "-Wstrict-prototypes",
"-Wmissing-prototypes"
,
"-Wwrite-strings"
]
cflags_language
=
[
"-std=c99"
]
cflags_codegen
=
[
"-fPIC"
]
cflags
=
cflags_warnings
+
cflags_language
+
cflags_codegen
cppflags
=
[]
linkflags
=
[
"-lm"
]
if
variant
==
"debug"
:
...
...
@@ -40,6 +39,7 @@ elif variant == "optimize":
else
:
sys
.
stderr
.
write
(
"Unknown build variant '%s' requested
\n
"
%
variant
)
sys
.
exit
(
1
)
cflags
=
cflags_warnings
+
cflags_language
+
cflags_codegen
# Determine directories, create output, collect files
srcdir
=
dirname
(
__file__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment