Skip to content
Snippets Groups Projects
Commit 64931c47 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Patching the configure.in seems the better approach

The previous method (patching Makefile.in) didn't disable warnings when
building 'jsshell' (e.g. js.cpp).
parent 41d43b0d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3675 passed
--- js-1.8.5/js/src/Makefile.in 2023-01-25 18:43:01.101375334 -0800 --- js-1.8.5/js/src/configure.in.orig 2023-01-25 20:00:45.568773908 -0800
+++ js-1.8.5/js/src/Makefile.in 2023-01-25 18:37:27.917346828 -0800 +++ js-1.8.5/js/src/configure.in 2023-01-25 19:59:37.694768104 -0800
@@ -652,6 +652,8 @@ @@ -1700,6 +1700,7 @@
NSPR_STATIC_PATH = $(DIST)/lib if test "$ac_has_werror_return_type" = "yes"; then
endif _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Werror=return-type"
fi
+ _WARNINGS_CXXFLAGS="-w"
+CXXFLAGS += -w else
+ _DEFINES_CXXFLAGS='-DMOZILLA_CLIENT -D_JS_CONFDEFS_H_ $(ACDEFINES)'
ifdef MOZ_VTUNE
CXXFLAGS += -IC:/Program\ Files/Intel/VTune/Analyzer/Include
EXTRA_DSO_LDOPTS += C:/Program\ Files/Intel/VTune/Analyzer/Lib/VtuneApi.lib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment