# Copyright(c)'2019 by The Givaro group
# This file is part of Givaro.
# Givaro is governed by the CeCILL-B license under French law
# and abiding by the rules of distribution of free software. 
# see the COPYRIGHT file for more details.

CXXFLAGS += ${OPTFLAGS} `pkg-config givaro --cflags`
LOADLIBES+= `pkg-config givaro --libs`

NATIVECOMPI = x86_64-pc-linux-gnu-g++
NATIVEFLAGS = -O2 -pipe -march=x86-64-v3 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing

ifndef NONATIVE
CXX = ${NATIVECOMPI}
CXXFLAGS += ${NATIVEFLAGS}
endif
