Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
math/polymake: Remove NATIVE option and add GitHub to MASTER_SITES
* Add GitHub as primary download site and upstream website as backup * Remove NATIVE option, users wanting to apply CPU specific optimization should use CPUTYPE instead using ports framework * Use OPTIMIZED_CFLAGS option to define O3 optimization PR: 273316 Reviewed by: Philipp Ost <bsd@philippost.de> (maintainer) Sponsored by: Blinkinblox
- Loading branch information
Daniel Engberg
authored and
Daniel Engberg
committed
Oct 8, 2023
1 parent
85db42c
commit 96e194f
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- support/configure.pl.orig 2023-09-02 05:23:02 UTC | ||
+++ support/configure.pl | ||
@@ -501,7 +501,7 @@ sub parse_command_line { | ||
} | ||
} | ||
|
||
- $CXXOPT =$vars{CXXOPT} // "-O3"; | ||
+ $CXXOPT =$vars{CXXOPT} // ""; | ||
$CXXDEBUG =$vars{CXXDEBUG} // "-g"; | ||
$CFLAGS =$vars{CFLAGS} // ""; | ||
$CXXFLAGS =$vars{CXXFLAGS} // $CFLAGS; |