Don't build without any optimization on Linux.
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 27 Sep 2007 06:01:58 +0000 (08:01 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Sat, 29 Sep 2007 16:07:55 +0000 (18:07 +0200)
Building without optimization causes the drm module not to link correctly on
ppc.

linux-core/Makefile

index f2519ed..6eb5bf5 100644 (file)
@@ -269,7 +269,7 @@ PAGE_AGP := $(shell cat $(LINUXDIR)/include/asm/agp.h 2>/dev/null | \
 ifneq ($(PAGE_AGP),0)
 EXTRA_CFLAGS += -DHAVE_PAGE_AGP
 endif
-EXTRA_CFLAGS += -g -O0
+EXTRA_CFLAGS += -g
 
 # Start with all modules turned off.
 CONFIG_DRM_GAMMA := n