forked from enlightenment/efl
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:
parent
4cc43cff1f
commit
6816ee9ba7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue