diff options
| author | Michael Vetter <[email protected]> | 2017-05-29 19:00:53 +0200 |
|---|---|---|
| committer | Michael Vetter <[email protected]> | 2017-05-29 19:00:53 +0200 |
| commit | 6809380d3dea773ce3054402f91f105e75be0abf (patch) | |
| tree | 163ab8a492cf628628928a3541294da6b478a1ae /src/Makefile | |
| parent | d5c43099cdc727c255247529f11815e4bb5c0b0c (diff) | |
| download | raylib-6809380d3dea773ce3054402f91f105e75be0abf.tar.gz raylib-6809380d3dea773ce3054402f91f105e75be0abf.zip | |
Accept external CFLAGS
Some distributions build the programs with a specific set of CFLAGS.
Lets allow that by adding raylibs flags.
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 1eac71f6..6579d424 100644 --- a/src/Makefile +++ b/src/Makefile @@ -198,7 +198,7 @@ endif # -fgnu89-inline declaring inline functions support (GCC optimized) # -Wno-missing-braces ignore invalid warning (GCC bug 53119) # -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) CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources |
