build: support LTO in depends
No Qt for now.
This commit is contained in:
11 files changed
+55
-3
No files matched your search
@@ -1,6 +1,11 @@
|
||||
openbsd_CFLAGS=-pipe
|
||||
openbsd_CXXFLAGS=$(openbsd_CFLAGS)
|
||||
|
||||
ifneq ($(LTO),)
|
||||
openbsd_CFLAGS += -flto
|
||||
openbsd_LDFLAGS += -flto
|
||||
endif
|
||||
|
||||
openbsd_release_CFLAGS=-O2
|
||||
openbsd_release_CXXFLAGS=$(openbsd_release_CFLAGS)
|
||||
|
||||
|
||||
Reference in new issue
Block a user