Skip to content

Commit

Permalink
Merge pull request #4649 from dspx-plcr/master
Browse files Browse the repository at this point in the history
add default -I and -L paths for OpenBSD
  • Loading branch information
laytan authored Jan 5, 2025
2 parents 73d1427 + 0b0ae52 commit aa4bc10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_odin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Linux)
LDFLAGS="$LDFLAGS -Wl,-rpath=\$ORIGIN"
;;
OpenBSD)
CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
LDFLAGS="$LDFLAGS -liconv"
CXXFLAGS="$CXXFLAGS -I/usr/local/include $($LLVM_CONFIG --cxxflags --ldflags)"
LDFLAGS="$LDFLAGS -L/usr/local/lib -liconv"
LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs)"
;;
Haiku)
Expand Down

0 comments on commit aa4bc10

Please sign in to comment.