Skip to content

Commit

Permalink
build: Suppress macro undefining warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thrimbor authored and Ryzee119 committed May 24, 2024
1 parent f1c0c6f commit 7774abd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/nxdk-cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# SPDX-License-Identifier: CC0-1.0

# SPDX-FileCopyrightText: 2021-2022 Stefan Schmidt
# SPDX-FileCopyrightText: 2021-2024 Stefan Schmidt

clang \
-target i386-pc-win32 \
Expand All @@ -17,6 +17,7 @@ clang \
-I${NXDK_DIR}/lib/pdclib/platform/xbox/include \
-I${NXDK_DIR}/lib/winapi \
-I${NXDK_DIR}/lib/xboxrt/vcruntime \
-Wno-builtin-macro-redefined \
-DNXDK \
-D__STDC__=1 \
-U__STDC_NO_THREADS__ \
Expand Down
3 changes: 2 additions & 1 deletion bin/nxdk-cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# SPDX-License-Identifier: CC0-1.0

# SPDX-FileCopyrightText: 2021-2022 Stefan Schmidt
# SPDX-FileCopyrightText: 2021-2024 Stefan Schmidt

clang \
-target i386-pc-win32 \
Expand All @@ -18,6 +18,7 @@ clang \
-I${NXDK_DIR}/lib/pdclib/platform/xbox/include \
-I${NXDK_DIR}/lib/winapi \
-I${NXDK_DIR}/lib/xboxrt/vcruntime \
-Wno-builtin-macro-redefined \
-DNXDK \
-D__STDC__=1 \
-U__STDC_NO_THREADS__ \
Expand Down

0 comments on commit 7774abd

Please sign in to comment.