Added check so that -mcpu=pentiumpro isn't added to the CFLAGS by debian/rules

if -march is already given.


SVN revision: 7411
This commit is contained in:
swielinga 2003-09-04 20:01:38 +00:00 committed by swielinga
parent 4cc43cff1f
commit 6816ee9ba7
1 changed files with 4 additions and 0 deletions

View File

@ -28,10 +28,14 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
else
ifneq (,$(EVAS_ARCH))
CFLAGS += -O3 -mcpu=$(EVAS_ARCH) -march=$(EVAS_ARCH)
else
ifneq (,$(findstring -march,$(CFLAGS)))
CFLAGS += -O3
else
CFLAGS += -O3 -mcpu=pentiumpro
endif
endif
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif