summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-09-27 08:01:58 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-09-29 18:07:55 +0200
commit215eab6ccfb6d3a22218f996c8215a7dcaf65d01 (patch)
treeee077b5d5e8bc5c34e69b831932c4bc133fcca36 /linux-core
parent72134e939eda578bc53746bf43f7096cbeaf9b7b (diff)
Don't build without any optimization on Linux.
Building without optimization causes the drm module not to link correctly on ppc.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/Makefile b/linux-core/Makefile
index f2519ed5..6eb5bf5c 100644
--- a/linux-core/Makefile
+++ b/linux-core/Makefile
@@ -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