package/open62541: force Release build
PATCH 1/1 package/open62541: force Release build
Force Release build to remove -Werror and avoid the following build failure:
/home/giuliobenetti/autobuild/run/instance-3/output-1/build/open62541-1.0/arch/network_tcp.c: At top level:
cc1: error: unrecognized command line option '-Wno-static-in-inline' [-Werror]
cc1: all warnings being treated as errors
Fixes:
- http://autobuild.buildroot.org/results/24b429ce0ae2b33e72bb6a0f523c3906e539a4fd
--- package/open62541/open62541.mk | 2 ++ 1 file changed, 2 insertions(+)
package/open62541/open62541.mk +2 -0
@@ -13,9 +13,11 @@ OPEN62541_INSTALL_STAGING = YES OPEN62541_LICENSE = MPL-2.0 OPEN62541_LICENSE_FILES = LICENSE +# Force Release build to remove -Werror. # Don't use git describe to get the version number. # Disable hardening options to let Buildroot handle it. OPEN62541_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ -DGIT_EXECUTABLE=NO \ -DOPEN62541_VERSION=$(OPEN62541_VERSION) \ -DUA_ENABLE_HARDENING=OFF
Signature · 1 line
2.29.2
PATCH 1/1 package/open62541: force Release build
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Force Release build to remove -Werror and avoid the following build failure:
Quoted 8 lines
/home/giuliobenetti/autobuild/run/instance-3/output-1/build/open62541-1.0/arch/network_tcp.c: At top level:
cc1: error: unrecognized command line option '-Wno-static-in-inline' [-Werror]
cc1: all warnings being treated as errorsFixes:
- http://autobuild.buildroot.org/results/24b429ce0ae2b33e72bb6a0f523c3906e539a4fdSigned-off-by Fabrice Fontaine <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard