debian: fix corrupted profile info
* debian/rules: here.
This commit is contained in:
parent
34b9e89f5d
commit
fe694e2ba2
1 changed files with 8 additions and 8 deletions
16
debian/rules
vendored
16
debian/rules
vendored
|
|
@ -27,12 +27,12 @@ LTOPLUG := $(shell gcc -v 2>&1 | \
|
||||||
|
|
||||||
# ARFLAGS is for Automake
|
# ARFLAGS is for Automake
|
||||||
# AR_FLAGS is for Libtool
|
# AR_FLAGS is for Libtool
|
||||||
LTOSETUP = \
|
LTOSETUP = \
|
||||||
LDFLAGS='-fuse-linker-plugin' \
|
LDFLAGS='-fuse-linker-plugin' \
|
||||||
NM='nm --plugin $(LTOPLUG)' \
|
NM='nm --plugin $(LTOPLUG)' \
|
||||||
ARFLAGS='cru --plugin $(LTOPLUG)' \
|
ARFLAGS='cru --plugin $(LTOPLUG)' \
|
||||||
AR_FLAGS='cru --plugin $(LTOPLUG)' \
|
AR_FLAGS='cru --plugin $(LTOPLUG)' \
|
||||||
RANLIB='ranlib --plugin $(LTOPLUG)' \
|
RANLIB='ranlib --plugin $(LTOPLUG)'
|
||||||
VALGRIND=false
|
VALGRIND=false
|
||||||
GCDADIR := $(shell pwd)/gcda
|
GCDADIR := $(shell pwd)/gcda
|
||||||
PROFW = -Wno-error=coverage-mismatch
|
PROFW = -Wno-error=coverage-mismatch
|
||||||
|
|
@ -40,8 +40,8 @@ PRO1SETUP = \
|
||||||
CFLAGS='-flto -fprofile-generate=$(GCDADIR) $(PROFW)' \
|
CFLAGS='-flto -fprofile-generate=$(GCDADIR) $(PROFW)' \
|
||||||
CXXFLAGS='-flto -fprofile-generate=$(GCDADIR) $(PROFW)'
|
CXXFLAGS='-flto -fprofile-generate=$(GCDADIR) $(PROFW)'
|
||||||
PRO2SETUP = \
|
PRO2SETUP = \
|
||||||
CFLAGS='-flto -fprofile-use=$(GCDADIR) $(PROFW)' \
|
CFLAGS='-flto -fprofile-use=$(GCDADIR) $(PROFW) -fprofile-correction' \
|
||||||
CXXFLAGS='-flto -fprofile-use=$(GCDADIR) $(PROFW)'
|
CXXFLAGS='-flto -fprofile-use=$(GCDADIR) $(PROFW) -fprofile-correction'
|
||||||
PYDEFAULT=$(shell py3versions --default)
|
PYDEFAULT=$(shell py3versions --default)
|
||||||
PYOTHERS=$(filter-out $(PYDEFAULT), $(shell py3versions --supported))
|
PYOTHERS=$(filter-out $(PYDEFAULT), $(shell py3versions --supported))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue