Skip to content

Commit

Permalink
patch build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
FriederikeHanssen committed Oct 29, 2024
1 parent 6758549 commit 2c0085d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion recipes/spring/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ export CXXPATH=${PREFIX}/include
export CFLAGS="$CFLAGS -I$PREFIX/include"
export CXXFLAGS="$CFLAGS -I$PREFIX/include"
export LDFLAGS="$LDFLAGS -L$PREFIX/lib"
cmake -Dspring_optimize_for_portability=ON ..
if [ $(arch) == aarch64 ]; then
cmake ..
else
cmake -Dspring_optimize_for_portability=ON ..
fi
make
cp spring $PREFIX/bin


0 comments on commit 2c0085d

Please sign in to comment.