Skip to content

Commit

Permalink
Allow overriding CC environment variable
Browse files Browse the repository at this point in the history
Signed-off-by: Bjoern Doebel <[email protected]>
  • Loading branch information
bjoernd authored and wipawel committed Nov 20, 2020
1 parent 23b96e7 commit 7ed319b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ SYSTEM := MACOS
endif
endif

ifeq ($(CC),cc) # overwrite on default, otherwise use whatever is in the CC env variable
CC := gcc
endif
LD := ld

NM := nm
Expand Down

0 comments on commit 7ed319b

Please sign in to comment.