forked from pool/mingw64-winpthreads
Don't overwrite LDFLAGS
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=29
This commit is contained in:
parent
93b86139d2
commit
5fcddf0e63
@ -73,10 +73,11 @@ touch empty.c
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
# No ssp support in gcc-cross-bootstrap
|
# No ssp support in gcc-cross-bootstrap
|
||||||
|
# Hence we repeat the LDFLAGS without -fstack-protector
|
||||||
%{_mingw64_configure} \
|
%{_mingw64_configure} \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
LDFLAGS="-fno-stack-protector"
|
LDFLAGS="--Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user