diff --git a/src/pc.c b/src/pc.c
index 5e601e7c1..2d23b35a1 100644
--- a/src/pc.c
+++ b/src/pc.c
@@ -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,
* Miran Grca,
@@ -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. */
diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw
index 374124e96..10a7d238a 100644
--- a/src/win/Makefile.mingw
+++ b/src/win/Makefile.mingw
@@ -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,
# Fred N. van Kempen,
@@ -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