Mercurial > hg > release > icedtea7-forest-2.1 > hotspot
changeset 2653:d88eef905e30
Provide appropriate arch defines for alpha
author | andrew |
---|---|
date | Thu, 22 Sep 2011 01:05:13 +0100 |
parents | 19698050aac2 |
children | e0155b0ad538 |
files | agent/src/os/linux/Makefile |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/agent/src/os/linux/Makefile Thu Sep 22 00:35:08 2011 +0100 +++ b/agent/src/os/linux/Makefile Thu Sep 22 01:05:13 2011 +0100 @@ -45,7 +45,7 @@ LIBS = -lthread_db -CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) +CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D_$(ARCH)_ $(if $(filter $(ARCH),alpha),,-D$(ARCH)) $(INCLUDES) LIBSA = $(ARCH)/libsaproc.so @@ -78,7 +78,7 @@ $(GCC) -shared $(LFLAGS_LIBSA) -o $(LIBSA) $(OBJS) $(LIBS) test.o: test.c - $(GCC) -c -o test.o -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) test.c + $(GCC) -c -o test.o -g -D_GNU_SOURCE -D_$(ARCH)_ $(if $(filter $(ARCH),alpha),,-D$(ARCH)) $(INCLUDES) test.c test: test.o $(GCC) -o test test.o -L$(ARCH) -lsaproc $(LIBS)