Enlightenment CVS committal

Author  : swielinga
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/debian


Modified Files:
        rules 


Log Message:
Added check so that -mcpu=pentiumpro isn't added to the CFLAGS by debian/rules
if -march is already given.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/debian/rules,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- rules       26 Aug 2003 13:59:06 -0000      1.11
+++ rules       4 Sep 2003 20:01:38 -0000       1.12
@@ -29,7 +29,11 @@
 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)))




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to