Skip to content

Commit

Permalink
MERGE PR 377
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin452 committed May 2, 2024
1 parent ddfc438 commit 9dcffd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Build_clang.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make CC=clang CXX=clang++ CPP=clang-cpp
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -486,14 +486,14 @@ else ifeq ($(WINDOWS_BUILD),1)
endif

ifeq ($(WINDOWS_BUILD),1) # fixes compilation in MXE on Linux and WSL
CPP := cpp -P
CPP ?= cpp -P
OBJCOPY := objcopy
OBJDUMP := $(CROSS)objdump
else ifeq ($(OSX_BUILD),1)
OBJDUMP := i686-w64-mingw32-objdump
OBJCOPY := i686-w64-mingw32-objcopy
else # Linux & other builds
CPP := $(CROSS)cpp -P
CPP ?= $(CROSS)cpp -P
OBJCOPY := $(CROSS)objcopy
OBJDUMP := $(CROSS)objdump
endif
Expand Down

0 comments on commit 9dcffd3

Please sign in to comment.