mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-08 04:08:14 +02:00
Some build fixes to enable basic compilation on CentOS6
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
#include "pyaRefs.h"
|
||||
#include "dbPolygon.h"
|
||||
|
||||
|
||||
static PyObject *BridgeError;
|
||||
|
||||
static PyObject *
|
||||
|
||||
@@ -88,10 +88,14 @@ LIBS += -L$$LIBDIR -lklayout_db
|
||||
-Wno-deprecated-declarations \
|
||||
-Wno-reserved-user-defined-literal \
|
||||
|
||||
# because we use unordered_map/unordered_set:
|
||||
QMAKE_CXXFLAGS += -std=c++0x
|
||||
|
||||
# Python is somewhat sloppy and relies on the compiler initializing fields
|
||||
# of strucs to 0:
|
||||
QMAKE_CXXFLAGS_WARN_ON += \
|
||||
-Wno-missing-field-initializers
|
||||
|
||||
} else {
|
||||
|
||||
# disable some warnings
|
||||
|
||||
Reference in New Issue
Block a user