From: Jaehun Jeong Date: Tue, 17 Apr 2018 08:55:25 +0000 (+0900) Subject: Revert "Add -Wprint-abs-path to generate absolute path for buildwarnings" X-Git-Tag: accepted/tizen/5.0/unified/20181102.025606^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ade08f6c2cb0ce40cb95c78b9f7e75a413c26d1;p=platform%2Fupstream%2Ftoybox.git Revert "Add -Wprint-abs-path to generate absolute path for buildwarnings" This reverts commit 06c4c30907004afb917eb3c00856adadbffebfda. Change-Id: I8bf28b2a5e5426b8f002ce2cbdfcfa4b2a0be28b --- diff --git a/packaging/toybox.spec b/packaging/toybox.spec index 78bd1ec..78a2f24 100644 --- a/packaging/toybox.spec +++ b/packaging/toybox.spec @@ -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 diff --git a/scripts/make.sh b/scripts/make.sh index ce27309..7ebe148 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -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 "