forked from Imagelibrary/rtems
Add CFLAGS_FOR_BUILD.
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
%endif
|
||||
mkdir -p build
|
||||
cd build
|
||||
%if "%{_build}" != "%{_host}"
|
||||
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
|
||||
%endif
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
../gdb-%{gdb_version}/configure \
|
||||
--build=%_build --host=%_host \
|
||||
|
||||
Reference in New Issue
Block a user