Skip to content

Commit

Permalink
Added some sourcable files to set compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Sep 29, 2023
1 parent d762e18 commit 8e0f99a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flags/gcc13-macos-aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export CXX=/opt/homebrew/opt/gcc@13/bin/g++-13
export CXXFLAGS="-isystem /opt/homebrew/opt/gcc@13/include/c++/13"
export LDFLAGS="-stdlib=libstdc++ -L/opt/homebrew/opt/gcc@13/lib/gcc/13 -Wl,-ld_classic"
3 changes: 3 additions & 0 deletions flags/llvm16-macos-aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export CXX=/opt/homebrew/opt/llvm@16/bin/clang++
export CXXFLAGS="-nostdinc++ -nostdlib++ -isystem /opt/homebrew/opt/llvm@16/include/c++/v1"
export LDFLAGS="-L /opt/homebrew/opt/llvm@16/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@16/lib/c++"

0 comments on commit 8e0f99a

Please sign in to comment.