diff --git a/toolchain/generate_toolchan.sh b/toolchain/generate_toolchan.sh index 0ffe0d7..2dac8f0 100755 --- a/toolchain/generate_toolchan.sh +++ b/toolchain/generate_toolchan.sh @@ -305,7 +305,7 @@ function build_flex() { LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib \ -Wl,-dynamic-linker,$(find "${PREFIX}/lib" -name 'ld-linux-*')" \ - ../configure --prefix="${PREFIX}" + ../configure --prefix="${PREFIX}" --disable-static make -j "$(nproc)" make install