mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Make the expat library static to make relocatable.
This commit is contained in:
@@ -59,6 +59,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
CFLAGS_FOR_BUILD="-g -O2 -Wall"
|
CFLAGS_FOR_BUILD="-g -O2 -Wall"
|
||||||
fi
|
fi
|
||||||
CFLAGS="$SB_OPT_FLAGS" \
|
CFLAGS="$SB_OPT_FLAGS" \
|
||||||
|
LIBS="-static -lexpat -dynamic" \
|
||||||
../gdb-%{gdb_version}/configure \
|
../gdb-%{gdb_version}/configure \
|
||||||
--build=%{_build} --host=%{_host} \
|
--build=%{_build} --host=%{_host} \
|
||||||
--target=%{_target} \
|
--target=%{_target} \
|
||||||
|
Reference in New Issue
Block a user