The absolute path is now passed to plat_dir_create() instead of the relative path;

The makefile now support passing a number of jobs to flto.
This commit is contained in:
OBattler
2018-10-12 23:54:23 +02:00
parent b1984207c7
commit 09168610a4
2 changed files with 8 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
#
# Makefile for Win32 (MinGW32) environment.
#
# Version: @(#)Makefile.mingw 1.0.128 2018/10/04
# Version: @(#)Makefile.mingw 1.0.129 2018/10/12
#
# Authors: Miran Grca, <mgrca8@gmail.com>
# Fred N. van Kempen, <decwiz@yahoo.com>
@@ -27,6 +27,9 @@ endif
ifndef DEV_BUILD
DEV_BUILD := n
endif
ifndef FLTO
FLTO := 1
endif
ifeq ($(DEV_BUILD), y)
ifndef DEBUG
@@ -244,7 +247,7 @@ else
ifeq ($(OPTIM), y)
AOPTIM := -mtune=native
ifndef COPTIM
COPTIM := -O3 -flto
COPTIM := -O3 -flto=$(FLTO)
endif
else
ifndef COPTIM