Skip to content
Snippets Groups Projects
Commit 71e9caeb authored by earplov's avatar earplov
Browse files

build fix for GCC7


Signed-off-by: default avatarearplov <arpad.lovassy@ericsson.com>
parent 76fef417
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ XMLDIR := default
CPPFLAGS += -DYY_NO_INPUT
# Flags shared between C and C++
COMPILERFLAGS := -Wall
COMPILERFLAGS := -Wall -Wpedantic -Wextra -Wparentheses -Wmisleading-indentation -Wduplicated-cond -Wnonnull
# 'Hardcore' settings
# Unlikely to work for GCC below 4.x
......
......@@ -37,7 +37,7 @@ CPPFLAGS += -I../../core -I$(ABS_SRC)/../../common -I$(ABS_SRC)/../../core
# RT2 needs core2 (for RT2/TitanLoggerAPI.hh) in addition to core
CPPFLAGS_RT2 := $(CPPFLAGS) -I$(ABS_SRC)/../../core2 -DTITAN_RUNTIME_2
CXXFLAGS += -Werror
CXXFLAGS +=
LDFLAGS_ORIG := $(LDFLAGS)
LDFLAGS += -g -L$(ABS_SRC)/../../core -Wl,-soname,$(SHARED_LIB).$(MAJOR) -o $(SHARED_LIB).$(MAJOR).$(MINOR)
......
......@@ -37,7 +37,7 @@ CPPFLAGS += -I../../core -I$(ABS_SRC)/../../common -I$(ABS_SRC)/../../core
# RT2 needs core2 (for RT2/TitanLoggerAPI.hh) in addition to core
CPPFLAGS_RT2 := $(CPPFLAGS) -I$(ABS_SRC)/../../core2 -DTITAN_RUNTIME_2
CXXFLAGS += -Werror
CXXFLAGS +=
LDFLAGS_ORIG := $(LDFLAGS)
LDFLAGS += -g -L$(ABS_SRC)/../../core -Wl,-soname,$(SHARED_LIB).$(MAJOR) -o $(SHARED_LIB).$(MAJOR).$(MINOR)
......
......@@ -37,7 +37,7 @@ CPPFLAGS += -I../../core -I$(ABS_SRC)/../../common -I$(ABS_SRC)/../../core
# RT2 needs core2 (for RT2/TitanLoggerAPI.hh) in addition to core
CPPFLAGS_RT2 := $(CPPFLAGS) -I$(ABS_SRC)/../../core2 -DTITAN_RUNTIME_2
CXXFLAGS += -Werror
CXXFLAGS +=
LDFLAGS_ORIG := $(LDFLAGS)
LDFLAGS += -g -L$(ABS_SRC)/../../core -Wl,-soname,$(SHARED_LIB).$(MAJOR) -o $(SHARED_LIB).$(MAJOR).$(MINOR)
......
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