debuggers.hg

annotate config/StdGNU.mk @ 14569:fb6395d2e979

Since CPP is being used with CFLAGS, it should be in lock-step with CC,
to avoid having to specify both CC and CPP for the build.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Mar 23 11:32:32 2007 +0000 (2007-03-23)
parents 9be942ec0247
children 66e935c09530
rev   line source
kfraser@11844 1 AS = $(CROSS_COMPILE)as
kfraser@11844 2 LD = $(CROSS_COMPILE)ld
kfraser@11844 3 CC = $(CROSS_COMPILE)gcc
ewan@14569 4 CPP = $(CC) -E
kfraser@11844 5 AR = $(CROSS_COMPILE)ar
kfraser@11844 6 RANLIB = $(CROSS_COMPILE)ranlib
kfraser@11844 7 NM = $(CROSS_COMPILE)nm
kfraser@11844 8 STRIP = $(CROSS_COMPILE)strip
kfraser@11844 9 OBJCOPY = $(CROSS_COMPILE)objcopy
kfraser@11844 10 OBJDUMP = $(CROSS_COMPILE)objdump
kfraser@11844 11
kaf24@13228 12 MSGFMT = msgfmt
kaf24@13228 13
kfraser@11844 14 INSTALL = install
kfraser@14314 15 INSTALL_DIR = $(INSTALL) -d -m0755 -p
kfraser@14314 16 INSTALL_DATA = $(INSTALL) -m0644 -p
kfraser@14314 17 INSTALL_PROG = $(INSTALL) -m0755 -p
kfraser@11844 18
kfraser@11844 19 LIB64DIR = lib64
kfraser@11844 20
kfraser@11844 21 SOCKET_LIBS =
kfraser@11844 22 CURSES_LIBS = -lncurses
kfraser@11844 23 SONAME_LDFLAG = -soname
kfraser@11844 24 SHLIB_CFLAGS = -shared
kfraser@11844 25
kfraser@11844 26 ifneq ($(debug),y)
kfraser@11844 27 # Optimisation flags are overridable
kfraser@11844 28 CFLAGS ?= -O2 -fomit-frame-pointer
kfraser@11844 29 else
kfraser@11844 30 # Less than -O1 produces bad code and large stack frames
kfraser@11844 31 CFLAGS ?= -O1 -fno-omit-frame-pointer
kfraser@11844 32 endif