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 @@
*
* Main emulator module where most things are controlled.
*
* Version: @(#)pc.c 1.0.82 2018/10/11
* Version: @(#)pc.c 1.0.83 2018/10/12
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -426,8 +426,8 @@ usage:
/* If the specified path does not yet exist,
create it. */
if (! plat_dir_check(path))
plat_dir_create(path);
if (! plat_dir_check(usr_path))
plat_dir_create(usr_path);
}
/* Make sure we have a trailing backslash. */

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