freebsd-ports/math/polymake/files/patch-support_configure.pl
Daniel Engberg 96e194fafe 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
2023-10-08 11:40:40 +02:00

11 lines
341 B
Perl

--- 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;