-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3: Split out the shared stuff into a separate file, since we will ne…
…ed it for compiling the startup.c file also.
- Loading branch information
Per Lundberg
committed
Jun 14, 2013
1 parent
bfc065e
commit 6e97332
Showing
2 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
DEFINES = (ENV['DEFINES'] || '') + " -DPACKAGE=\\\"storm\\\" -DVERSION=\\\"git\\\"" | ||
|
||
COMMON_CFLAGS = | ||
"-Wall -Wextra -Wshadow -Wpointer-arith -Waggregate-return -Wredundant-decls \ | ||
-Winline -Werror -Wcast-align -Wsign-compare -Wmissing-declarations \ | ||
-Wmissing-noreturn -pipe -O3 -fno-builtin -funsigned-char \ | ||
-g -m32 -fomit-frame-pointer -ffreestanding #{ENV['EXTRA_CFLAGS']} #{DEFINES} " | ||
|
||
CFLAGS = COMMON_CFLAGS + | ||
"--std=gnu99 -Wbad-function-cast -Wmissing-prototypes -Wnested-externs \ | ||
-Wstrict-prototypes" | ||
CCFLAGS = COMMON_CFLAGS + "--std=gnu++11 " #-Wno-c++0x-compat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters