]> git.localhorst.tv Git - l2e.git/blobdiff - Release/src/common/subdir.mk
define NDEBUG for Release build config
[l2e.git] / Release / src / common / subdir.mk
index d86dbcd271da0437f681fe043b03e8481d007b60..1146aabd57c4a51dfd42ca61ffb317bbcbbc813a 100644 (file)
@@ -29,7 +29,7 @@ CPP_DEPS += \
 src/common/%.o: ../src/common/%.cpp
        @echo 'Building file: $<'
        @echo 'Invoking: GCC C++ Compiler'
-       g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
+       g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
        @echo 'Finished building: $<'
        @echo ' '