Skip to content

Commit

Permalink
Accept external CFLAGS
Browse files Browse the repository at this point in the history
Some distributions build the programs with a specific set of CFLAGS.
Lets allow that by adding raylibs flags.
  • Loading branch information
jubalh committed May 29, 2017
1 parent d5c4309 commit 6809380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Expand Up @@ -198,7 +198,7 @@ endif
# -fgnu89-inline declaring inline functions support (GCC optimized) # -fgnu89-inline declaring inline functions support (GCC optimized)
# -Wno-missing-braces ignore invalid warning (GCC bug 53119) # -Wno-missing-braces ignore invalid warning (GCC bug 53119)
# -D_DEFAULT_SOURCE use with -std=c99 # -D_DEFAULT_SOURCE use with -std=c99
CFLAGS = -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces CFLAGS += -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces


ifeq ($(PLATFORM),PLATFORM_WEB) ifeq ($(PLATFORM),PLATFORM_WEB)
CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources
Expand Down

0 comments on commit 6809380

Please sign in to comment.