Skip to content

Commit 1e13337

Browse files
committed
Don't override OPTFLAG to fix missing debug info and other flags
Due to us setting OPTFLAG we were overriding the flags we set via CFLAGS for projects using gnustep-make, which meant no -g or other flags we set. Actually fixes #18.
1 parent 9002a74 commit 1e13337

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

scripts/sdkenv.sh

-9
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,4 @@ case $BUILD_TYPE in
7575
Debug)
7676
GNUSTEP_MAKE_OPTIONS="$GNUSTEP_MAKE_OPTIONS debug=yes"
7777
;;
78-
RelWithDebInfo)
79-
GNUSTEP_MAKE_OPTIONS="$GNUSTEP_MAKE_OPTIONS debug=yes OPTFLAG=-Os"
80-
;;
81-
Release)
82-
GNUSTEP_MAKE_OPTIONS="$GNUSTEP_MAKE_OPTIONS OPTFLAG=-Os"
83-
;;
84-
*)
85-
echo "Error: unknown build type \"$BUILD_TYPE\"."
86-
exit 1
8778
esac

0 commit comments

Comments
 (0)