mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Refactoring to Model API for making it stricter and safer
This commit is contained in:
@@ -11,7 +11,8 @@ use Module::Build::WithXSpp;
|
||||
# NOGDI : prevents inclusion of wingdi.h which defines functions Polygon() and Polyline() in global namespace
|
||||
my @cflags = qw(-D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS);
|
||||
if ($ENV{SLIC3R_DEBUG}) {
|
||||
push @cflags, qw(-DSLIC3R_DEBUG -g -ftemplate-backtrace-limit=0);
|
||||
# only on newer GCCs: -ftemplate-backtrace-limit=0
|
||||
push @cflags, qw(-DSLIC3R_DEBUG -g);
|
||||
}
|
||||
if (ExtUtils::CppGuess->new->is_gcc) {
|
||||
# check whether we're dealing with a buggy GCC version
|
||||
|
||||
Reference in New Issue
Block a user