diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-10-16 04:19:32 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-10-16 04:19:32 +0200 |
| commit | a4c261c6ee3940099e653a6f448dc952dfd5899f (patch) | |
| tree | 7b14cfde56d735259f6e852a6d337228e00db0f5 /build.sh | |
| parent | dcaf169691cfbb865241e96a4786af0862424701 (diff) | |
optimized, but bug with rasterdemos
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -52,17 +52,18 @@ case "$BUILD_TYPE" in # -pg # for gprof ;; "release") - CFLAGS+="-s -Wl,--strip-all -O2 " + # CFLAGS+="-s -Wl,--strip-all -O2 " + CFLAGS+="-g -O2 " ;; "profile") CFLAGS+="-O2 -fprofile-generate -ftest-coverage " ;; "profile_release") # CFLAGS+="-s -Wl,--strip-all -O2 -fprofile-use " - CFLAGS+="-O2 -fprofile-use " + CFLAGS+="-g -O2 -fprofile-use " ;; "debug") - CFLAGS+="-g -O0 " + CFLAGS+="-g -O0 -DTIMER_DEBUG " LDFLAGS+="-fno-pie -no-pie " ;; "coverage") @@ -90,8 +91,8 @@ set -e ) & # Build Windows version -# ( -# $WIN_CC $CFLAGS ${PROJECT_NAME}.c -o ${PROJECT_NAME}.exe $INCLUDE_PATHS $WINDOWS_INCLUDE $LDFLAGS $WINDOWS_LIBS -# ) & +#( +# $WIN_CC $CFLAGS ${PROJECT_NAME}.c -o ${PROJECT_NAME}.exe $INCLUDE_PATHS $WINDOWS_INCLUDE $LDFLAGS $WINDOWS_LIBS +#) & wait |
