Skip to content

Commit

Permalink
simplify compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed May 27, 2024
1 parent 7046c7e commit 2b44102
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 3 additions & 5 deletions include/jx-af/make/sys/Linux_g++
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ J_XINERAMA_LIBS := -lXinerama
# Adjust these until everything compiles

J_RAW_SYSTEM_STUFF := \
-D_J_HAS_PROC -Wno-mismatched-new-delete \
-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED \
-D_XFT_NO_COMPAT_ -D_GNU_SOURCE=1 \
-D_J_LLDB_HAS_SBVALUE_GETSUMMARY \
${shell getconf LFS_CFLAGS}
-Wno-mismatched-new-delete \
-DU_CHARSET_IS_UTF8=1 \
-DACE_DISABLE_MKTEMP -DACE_DISABLE_TEMPNAM

# Convert certain issues into warnings so they can be turned off in certain situations.

Expand Down
7 changes: 2 additions & 5 deletions include/jx-af/make/sys/macOS_g++
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ J_STRIP_DEBUG := strip -S
# Adjust these until everything compiles

J_RAW_SYSTEM_STUFF := \
-D_J_MACOS \
-D_J_MACOS -D_GNU_SOURCE=1 \
-DU_CHARSET_IS_UTF8=1 \
-D_J_LLDB_HAS_SBVALUE_GETSUMMARY \
-D_J_HAS_SYSCTL -D_XFT_NO_COMPAT_ \
-DACE_LACKS_VSPRINTF -DACE_DISABLE_MKTEMP \
-D_GNU_SOURCE=1
-DACE_DISABLE_MKTEMP -DACE_DISABLE_TEMPNAM -DACE_LACKS_VSPRINTF

SEARCHDIRS += -I${BREW_ROOT}/include -I${BREW_ROOT}/include/freetype2

Expand Down

0 comments on commit 2b44102

Please sign in to comment.