Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
adonis0147 committed Apr 25, 2024
1 parent a8427d4 commit 1a53ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/generate_toolchan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function build_flex() {

LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib \
-Wl,-dynamic-linker,$(find "${PREFIX}/lib" -name 'ld-linux-*')" \
../configure --prefix="${PREFIX}" --disable-static
../configure --prefix="${CROSS_PREFIX}" --libdir="${PREFIX}/lib" --disable-static
make -j "$(nproc)"
make install

Expand Down Expand Up @@ -390,7 +390,7 @@ function build_flex_final() {

LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib \
-Wl,-dynamic-linker,$(find "${PREFIX}/lib" -name 'ld-linux-*')" \
../configure --prefix="${PREFIX}"
../configure --prefix="${CROSS_PREFIX}" --libdir="${PREFIX}/lib"
make -j "$(nproc)"
make install

Expand Down

0 comments on commit 1a53ebd

Please sign in to comment.