mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
479829cc0f
Reported by: jbeich
12 lines
229 B
Makefile
12 lines
229 B
Makefile
# LTO Support
|
|
|
|
LTO_Include_MAINTAINER= pkubaj@FreeBSD.org
|
|
|
|
.if !defined(LTO_UNSAFE)
|
|
# Overridable as a user may want to use -flto
|
|
LTO_FLAGS?= -flto=thin
|
|
CFLAGS+= ${LTO_FLAGS}
|
|
CXXFLAGS+= ${LTO_FLAGS}
|
|
LDFLAGS+= ${LTO_FLAGS}
|
|
.endif
|