diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-08 01:37:46 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-03-12 09:47:18 -0400 |
commit | 1ff4fc699f01f0ad1359fad48b00c9d3be1b28b4 (patch) | |
tree | e0c0f72971ec23795a6db157b6dd33b963f8d156 /Makefile | |
parent | 072b486393ab702eea9ea0a7fef569dbf8be0a32 (diff) |
Make github/staging complatible with -O2.
Minor changes to test case code to enable compilation
with 'gcc -O2' (gcc v4.7.2).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ LITMUS_KERNEL ?= ../litmus-rt | |||
19 | # Internal configuration. | 19 | # Internal configuration. |
20 | 20 | ||
21 | # compiler flags | 21 | # compiler flags |
22 | flags-debug = -Wall -Werror -g -Wdeclaration-after-statement | 22 | flags-debug = -O2 -Wall -Werror -g -Wdeclaration-after-statement |
23 | flags-api = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE | 23 | flags-api = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE |
24 | 24 | ||
25 | # architecture-specific flags | 25 | # architecture-specific flags |