Blob Blame History Raw
diff -up sc2/build/unix/build.config.orig sc2/build/unix/build.config
--- sc2/build/unix/build.config.orig	2006-12-23 05:26:16.000000000 -0500
+++ sc2/build/unix/build.config	2008-09-10 11:03:12.000000000 -0400
@@ -90,7 +90,7 @@ uqm_prepare_config()
 	CHOICE_debug_OPTION_nodebug_TITLE="Optimised release build"
 	CHOICE_debug_OPTION_nodebug_ACTION='nodebug_action'
 	nodebug_action() {
-		CFLAGS="$CFLAGS -O3"
+		CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
 		DEBUG=0
 	}
 	CHOICE_debug_OPTION_debug_TITLE="Debugging build"
@@ -131,7 +131,7 @@ uqm_prepare_config()
 				# for more readable messages.
 		DEBUG=1
 	}
-	CHOICE_debug_DEFAULT=debug
+	CHOICE_debug_DEFAULT=nodebug
 
 	CHOICE_graphics_OPTIONS="pure opengl"
 	CHOICE_graphics_TITLE="OpenGL graphics support"