Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
249fd260
Commit
249fd260
authored
Oct 18, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add --disable-test-32bit
parent
0b56b22c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
configure.ac
configure.ac
+18
-6
No files found.
configure.ac
View file @
249fd260
...
@@ -68,12 +68,6 @@ AX_CHECK_COMPILE_FLAG([-std=gnu99],
...
@@ -68,12 +68,6 @@ AX_CHECK_COMPILE_FLAG([-std=gnu99],
AX_CHECK_COMPILE_FLAG([-Wno-error=unused-variable],
AX_CHECK_COMPILE_FLAG([-Wno-error=unused-variable],
[TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -Wno-error=unused-variable"])
[TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -Wno-error=unused-variable"])
dnl If -m32 is available to reate 32-bit code,
dnl treat it like a special case to be checked.
AX_CHECK_COMPILE_FLAG([-m32], [CFLAGS_M32=-m32], [CFLAGS_M32=""])
AC_SUBST(CFLAGS_M32)
AM_CONDITIONAL([EXPLICIT_M32], [test "x${CFLAGS_M32}" != "x"])
dnl Lower the optimization level in tests to aid debugging.
dnl Lower the optimization level in tests to aid debugging.
dnl AX_CHECK_COMPILE_FLAG([-O1],
dnl AX_CHECK_COMPILE_FLAG([-O1],
dnl [TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -O1"])
dnl [TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -O1"])
...
@@ -129,6 +123,24 @@ AC_ARG_ENABLE(test-Werror,
...
@@ -129,6 +123,24 @@ AC_ARG_ENABLE(test-Werror,
])
])
dnl If -m32 is available to create 32-bit code,
dnl treat it like a special case to be checked.
AC_ARG_ENABLE([test-32bit],
[AS_HELP_STRING([--disable-test-32bit],
[Disable tests for 32-bit compatibility])],
[disable_test_32bit=$enableval], [disable_test_32bit=maybe])
AS_IF([test "x$disable_test_32bit" != xno], [
AX_CHECK_COMPILE_FLAG([-m32], [CFLAGS_M32=-m32],
[
CFLAGS_M32=""
AS_IF([test "x$disable_test_32bit" != xmaybe], [
AC_MSG_FAILURE([--disable-test-32bit=$disable_test_32bit is not supported on a target system.])
])
])
])
AC_SUBST(CFLAGS_M32)
AM_CONDITIONAL([EXPLICIT_M32], [test "x${CFLAGS_M32}" != "x"])
SANITIZER_CFLAGS=""
SANITIZER_CFLAGS=""
dnl Enable Undefined Behavior Sanitizer, if supported.
dnl Enable Undefined Behavior Sanitizer, if supported.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment