Revert "Add -Wprint-abs-path to generate absolute path for buildwarnings" 87/176187/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.025606 accepted/tizen/unified/20180417.173239 submit/tizen/20180417.090848 submit/tizen_5.0/20181101.000008
authorJaehun Jeong <jh4u.jeong@samsung.com>
Tue, 17 Apr 2018 08:55:25 +0000 (17:55 +0900)
committerJaehun Jeong <jh4u.jeong@samsung.com>
Tue, 17 Apr 2018 08:55:53 +0000 (17:55 +0900)
This reverts commit 06c4c30907004afb917eb3c00856adadbffebfda.

Change-Id: I8bf28b2a5e5426b8f002ce2cbdfcfa4b2a0be28b

packaging/toybox.spec
scripts/make.sh

index 78bd1ec..78a2f24 100644 (file)
@@ -69,7 +69,7 @@ ToyBox symlinks for utilities corresponding to 'nslookup' package.
 cp %{SOURCE1001} .
 # create dynamic toybox - the executable is toybox
 cp %{SOURCE1} .config
-make -j 4 CC="gcc $RPM_OPT_FLAGS" CFLAGS="$CFLAGS -Wprint-abs-path -fPIE" LDOPTIMIZE="-Wl,--gc-sections -pie"
+make -j 4 CC="gcc $RPM_OPT_FLAGS" CFLAGS="$CFLAGS -fPIE" LDOPTIMIZE="-Wl,--gc-sections -pie"
 cp toybox toybox-dynamic
 
 %install
index ce27309..7ebe148 100755 (executable)
@@ -136,7 +136,7 @@ sed -n \
 
 if [ generated/mkflags -ot scripts/mkflags.c ]
 then
-  do_loudly $HOSTCC -Wprint-abs-path scripts/mkflags.c -o generated/mkflags || exit 1
+  do_loudly $HOSTCC scripts/mkflags.c -o generated/mkflags || exit 1
 fi
 
 echo -n "generated/flags.h "