mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
Fix for commit 3d7bf376
we need use += and a space CXXFLAGS+=" -O3 -ffast-math" , if not += you override all system settings for CXXFLAGS and none for LDFLAGS, which ends with "/usr/bin/ld: /tmp/ccARck2g.o: relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE`" https://stackoverflow.com/a/38579792/778517
This commit is contained in:
parent
3148382fa8
commit
9f72a8aa6b
@ -33,7 +33,7 @@ AC_LANG(C++)
|
|||||||
|
|
||||||
# Compiler flags. Apply -ffast-math to allow gcc autovectorization
|
# Compiler flags. Apply -ffast-math to allow gcc autovectorization
|
||||||
# generate effective SIMD code.
|
# generate effective SIMD code.
|
||||||
CXXFLAGS="-O3 -ffast-math"
|
CXXFLAGS+=" -O3 -ffast-math"
|
||||||
|
|
||||||
# Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')"
|
# Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')"
|
||||||
AR_FLAGS='cr'
|
AR_FLAGS='cr'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user