# 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 = g++
NATIVEFLAGS = -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fdebug-prefix-map=/build/givaro-viGn5a/givaro-4.2.1=/usr/src/givaro-4.2.1-1build1

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