Don't include CXX flags in CFLAGS 14/128114/4
authorFrancisco Santos <f1.santos@samsung.com>
Fri, 5 May 2017 14:09:55 +0000 (15:09 +0100)
committerFrancisco Santos <f1.santos@samsung.com>
Wed, 10 May 2017 16:14:09 +0000 (17:14 +0100)
Change-Id: I21c03603cf68c2ae6038399d633c2bee574e7c7c

build/tizen/adaptor-uv/Makefile.am
build/tizen/adaptor/Makefile.am

index 7747336..07d093f 100644 (file)
@@ -387,7 +387,10 @@ if !COMMON_PROFILE
 libdali_adaptor_uv_la_CXXFLAGS += -DWAYLAND_EXTENSIONS_SUPPORTED
 endif
 
-libdali_adaptor_uv_la_CFLAGS = $(libdali_adaptor_uv_la_CXXFLAGS)
+libdali_adaptor_uv_la_CFLAGS = \
+                      -Werror -Wall \
+                      -DDALI_COMPILATION -DDALI_ADAPTOR_COMPILATION \
+                      $(DALI_ADAPTOR_CFLAGS)
 
 libdali_adaptor_uv_la_LIBADD = \
                       $(DALICORE_LIBS) \
index 244146b..5e87579 100644 (file)
@@ -404,7 +404,10 @@ if !COMMON_PROFILE
 libdali_adaptor_la_CXXFLAGS += -DWAYLAND_EXTENSIONS_SUPPORTED
 endif
 
-libdali_adaptor_la_CFLAGS = $(libdali_adaptor_la_CXXFLAGS)
+libdali_adaptor_la_CFLAGS = \
+                      -Werror -Wall \
+                      -DDALI_COMPILATION -DDALI_ADAPTOR_COMPILATION \
+                      $(DALI_ADAPTOR_CFLAGS)
 
 libdali_adaptor_la_LIBADD = \
                       $(DALICORE_LIBS) \