Skip to content

Commit

Permalink
Fix c++ on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed Feb 21, 2024
1 parent 3278025 commit 2e34688
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion darwin/scripts/build-mac-gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ function build_gcc_arm64_nano() {
LDFLAGS="$MAC_ARM64_FLAGS" \
DYLD_LIBRARY_PATH="$MAC_ARM64_OUTPUT_ROOT/lib" \
PATH="$MAC_ARM64_OUTPUT_ROOT/bin:$PATH" \
make "-j$CPUS";
make "-j$CPUS" \
CXXFLAGS_FOR_TARGET="-g -Os -ffunction-sections -fdata-sections -fno-exceptions";
PATH="$MAC_ARM64_OUTPUT_ROOT/bin:$PATH" \
make install;
popd;
Expand Down

0 comments on commit 2e34688

Please sign in to comment.