From: Chun-wei Fan <fanchunwei@src.gnome.org> Signed-off-by: Guangzhong Yao <yaoguangzhong@xfusion.com>
33 lines
858 B
Diff
33 lines
858 B
Diff
From 6d33a725679c2fca903621c67db03d1b4857cfe3 Mon Sep 17 00:00:00 2001
|
|
From: Chun-wei Fan <fanchunwei@src.gnome.org>
|
|
Date: Wed, 23 Mar 2022 11:18:04 +0800
|
|
Subject: [PATCH] neon.mak: Replace /GX with /EHsc
|
|
|
|
The /GX option has been deprecated and replaced with /EHsc, so use that to
|
|
eliminate a cl.exe command line warning.
|
|
---
|
|
neon.mak | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/neon.mak b/neon.mak
|
|
index ce53a30..1d26d3b 100644
|
|
--- a/neon.mak
|
|
+++ b/neon.mak
|
|
@@ -12,11 +12,11 @@ NULL=nul
|
|
# Debug vs. Release build
|
|
!IF "$(DEBUG_BUILD)" == ""
|
|
INTDIR = Release
|
|
-CFLAGS = /MD /W3 /GX /O2 /D "NDEBUG"
|
|
+CFLAGS = /MD /W3 /EHsc /O2 /D "NDEBUG"
|
|
TARGET = .\libneon.lib
|
|
!ELSE
|
|
INTDIR = Debug
|
|
-CFLAGS = /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG"
|
|
+CFLAGS = /MDd /W3 /Gm /EHsc /Zi /Od /D "_DEBUG"
|
|
TARGET = .\libneonD.lib
|
|
!ENDIF
|
|
|
|
--
|
|
2.27.0
|
|
|