Skip to content

Commit

Permalink
fix: asserts weren't disabled in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Mar 27, 2024
1 parent d2a35ec commit 8fb418c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ else
RELEASE_OPTS = -pipe -O3
STRIP_OPTS = -s
endif
RAYLIB_CPPFLAGS = $(DISABLE_ASSERTS) -D PLATFORM_DESKTOP -I $(RAYLIB_SRC_DIR) -I $(RAYLIB_SRC_DIR)/external/glfw/$(HDR_DIR)
CPPFLAGS = $(DISABLE_ASSERTS) -I $(RAYLIB_SRC_DIR) -I $(HDR_DIR)
RAYLIB_CPPFLAGS = $(DISABLE_ASSERTS_OPTS) -D PLATFORM_DESKTOP -I $(RAYLIB_SRC_DIR) -I $(RAYLIB_SRC_DIR)/external/glfw/$(HDR_DIR)
CPPFLAGS = $(DISABLE_ASSERTS_OPTS) -I $(RAYLIB_SRC_DIR) -I $(HDR_DIR)
RAYLIB_CFLAGS = -std=gnu99 $(HIDE_WARNS_OPTS) $(DEBUG_SYM_OPTS) $(RELEASE_OPTS)
CFLAGS = -std=c17 -Wall -Wextra -pedantic $(DEBUG_SYM_OPTS) $(RELEASE_OPTS)
LDFLAGS = -Wl,--build-id $(STRIP_OPTS) $(RELEASE_OPTS) -L $(BUILD_DIR) -lraylib -lm
Expand Down

0 comments on commit 8fb418c

Please sign in to comment.