Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Always append warning flags
  • Loading branch information
AMDmi3 committed Sep 11, 2014
1 parent ca35e7e commit a138153
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Makefile.simple
Expand Up @@ -25,9 +25,11 @@ endif

# Compiler settings
ifeq ($(TARGET),OSX)
CXXFLAGS ?= -Wall -Wextra -O2
CXXFLAGS ?= -O2
CXXFLAGS += -Wall -Wextra
else
CXXFLAGS ?= -Wall -Wextra -O2 -rdynamic
CXXFLAGS ?= -O2
CXXFLAGS += -Wall -Wextra -rdynamic
endif

CXXFLAGS += $(addprefix -D,$(TARGET))
Expand Down

0 comments on commit a138153

Please sign in to comment.