inherit the CFLAGS from the system CFLAGS. 03/175203/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 9 Apr 2018 07:55:24 +0000 (16:55 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 9 Apr 2018 07:57:19 +0000 (16:57 +0900)
do not overwrite the CFLAGS and the LDFLAGS at spec file

Change-Id: Icb518034f9f7961c2fbdee60d329186db522db9c

packaging/libeom.spec

index de03a9e07176ef6c2401081d648224e3cc442ce5..10c07035e5c083bd8bcbbc9be754012519c9f47a 100644 (file)
@@ -57,7 +57,7 @@ External Output Manager Server Library development package
 cp %{SOURCE1001} .
 
 %build
-export CFLAGS="-g -O0 -Wall -Werror -Wno-error=deprecated-declarations"
+export CFLAGS="$CFLAGS -g -Wall -Werror -Wno-error=deprecated-declarations"
 export LDFLAGS="$LDFLAGS -Wl,--hash-style=both -Wl,--as-needed"
 UTEST="no"