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
|
||||
|
||||
# No ssp support in gcc-cross-bootstrap
|
||||
# Hence we repeat the LDFLAGS without -fstack-protector
|
||||
%{_mingw64_configure} \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
LDFLAGS="-fno-stack-protector"
|
||||
LDFLAGS="--Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user