summaryrefslogtreecommitdiff
blob: 7a0eb0028a304c96688a1b3ec6fdbf2bfcfe44f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- Makefile
+++ Makefile
@@ -1,5 +1,5 @@
 INSTALL=install
-prefix?=/opt/diet
+prefix=/usr/diet
 # Set the following to install to a different root
 #DESTDIR=/tmp/fefix
 # Use "make DEBUG=1" to compile a debug version.
@@ -95,7 +95,6 @@
 
 profiling: $(OBJDIR)/libgmon.a $(OBJDIR)/pstart.o
 
-CFLAGS=-pipe -nostdinc
 CROSS=
 
 CC=gcc
@@ -126,10 +125,6 @@
 
 LIBMATHOBJ=$(patsubst %,$(OBJDIR)/%,$(LIBMATH))
 
-ifeq ($(CFLAGS),-pipe -nostdinc)
-CFLAGS+=-O -fomit-frame-pointer
-endif
-
 ifneq ($(DEBUG),)
 CFLAGS = -g
 COMMENT = :