Magellan Linux

Contents of /trunk/dietlibc/patches/dietlibc-0.28-Makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (16 years, 11 months ago) by niro
File size: 529 byte(s)
-import

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