Add CFLAGS and LDFLAGS
@@ -4,9 +4,9 @@ make std
make std-check
make sse2-check
-${CC} -O3 -finline-functions -fomit-frame-pointer -DNDEBUG -DDSFMT_MEXP=19937 \
+${CC} ${CFLAGS} -O3 -finline-functions -fomit-frame-pointer -DNDEBUG -DDSFMT_MEXP=19937 \
-fPIC -fno-strict-aliasing --param max-inline-insns-single=1800 -Wmissing-prototypes \
- -Wall -std=c99 -shared dSFMT.c -o libdSFMT${SHLIB_EXT}
+ -Wall -std=c99 -shared dSFMT.c -o libdSFMT${SHLIB_EXT} ${LDFLAGS}
mkdir -p ${PREFIX}/lib
mkdir -p ${PREFIX}/include
