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
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 "