[csw-devel] SF.net SVN: gar:[5609] csw/mgar/pkg/tuntap/trunk/Makefile

bensons at users.sourceforge.net bensons at users.sourceforge.net
Mon Jul 20 14:05:28 CEST 2009


Revision: 5609
          http://gar.svn.sourceforge.net/gar/?rev=5609&view=rev
Author:   bensons
Date:     2009-07-20 12:05:28 +0000 (Mon, 20 Jul 2009)

Log Message:
-----------
tuntap: adjusted compiler flags for amd64

Modified Paths:
--------------
    csw/mgar/pkg/tuntap/trunk/Makefile

Modified: csw/mgar/pkg/tuntap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tuntap/trunk/Makefile	2009-07-20 10:41:41 UTC (rev 5608)
+++ csw/mgar/pkg/tuntap/trunk/Makefile	2009-07-20 12:05:28 UTC (rev 5609)
@@ -99,9 +99,11 @@
 
 include gar/category.mk
 
-# remove bogus compiler flags
+# adjust compiler flags
 pre-build-modulated:
-	@perl -pi -e 's at -m64@@' $(WORKSRC)/Makefile
+	perl -pi -e 's at -m64@@' $(WORKSRC)/Makefile
+pre-build-isa-amd64:
+	perl -pi -e 's@(-D_KERNEL)@$$1 -xmodel=kernel@' $(WORKSRC)/Makefile
 
 # custom install
 install-custom:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list