gap-digraphs/digraphs-no-native.diff

24 lines
773 B
Diff
Raw Normal View History

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-12-23 10:46:26.870315439 +0100
build: drop host-specific compile flags
The system which built the program is not the same as to which runs it.
---
Makefile.am | 2 --
1 file changed, 2 deletions(-)
Index: digraphs-0.12.2/Makefile.am
===================================================================
--- digraphs-0.12.2.orig/Makefile.am
+++ digraphs-0.12.2/Makefile.am
@@ -19,8 +19,6 @@ digraphs_la_SOURCES += src/bliss-0.73/ti
digraphs_la_SOURCES += src/bliss-0.73/bliss_C.cc
digraphs_la_CPPFLAGS = $(GAP_CPPFLAGS)
-digraphs_la_CXXFLAGS = -O3 -march=native -mpopcnt
-digraphs_la_CFLAGS = -O3 -march=native -mpopcnt $(GAP_CFLAGS)
digraphs_la_LDFLAGS = $(GAP_LDFLAGS) -module -avoid-version
if SYS_IS_CYGWIN