Changeset a227dd in git


Ignore:
Timestamp:
Jul 2, 2021, 1:07:34 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7086524f1b22214974572a562557165064994f18
Parents:
de66635cb4e52adc36d928f7bd9e54afe93ad699
Message:
fix: move fno-delete-null-pointer-checks to AM_CXXFLAGS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    rde6663 ra227dd  
    33AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(FACTORY_INCLUDES) $(CCLUSTER_CPPFLAGS)  $(GMP_CPPFLAGS) $(FLINT_CFLAGS)
    44
    5 AM_CXXFLAGS=$(NTL_CPPFLAGS)
     5AM_CXXFLAGS=$(NTL_CPPFLAGS) -fno-delete-null-pointer-checks
    66
    77all-local: all.lib gftables MOD ${abs_builddir}/LIB Singular$(EXEEXT) ESingular$(EXEEXT) TSingular$(EXEEXT)
  • configure.ac

    rde6663 ra227dd  
    183183AC_DEFINE_UNQUOTED([CXX],"$CXX",[CXX])
    184184AC_DEFINE_UNQUOTED([CFLAGS],"$CFLAGS",[CFLAGS])
    185 AC_DEFINE_UNQUOTED([CXXFLAGS],"$CXXFLAGS",[CXXFLAGS])
     185AC_DEFINE_UNQUOTED([CXXFLAGS],"$CXXFLAGS -fno-delete-null-pointer-checks",[CXXFLAGS])
    186186AC_DEFINE_UNQUOTED([PTHREAD_CFLAGS],"$PTHREAD_CFLAGS",[PTHREAD_CFLAGS])
    187187AC_DEFINE_UNQUOTED([PTHREAD_LIBS],"$PTHREAD_LIBS",[PTHREAD_LIBS])
  • m4/flags.m4

    rde6663 ra227dd  
    109109
    110110 if test "x${ENABLE_DEBUG}" = xyes; then
    111   DBGFLAGS="-g -ftrapv -fdiagnostics-show-option -Wall -Wextra -fno-delete-null-pointer-checks"
     111  DBGFLAGS="-g -ftrapv -fdiagnostics-show-option -Wall -Wextra"
    112112  #  -pedantic too strict ??? -Wvla -Wno-long-long ???
    113113  AC_LANG_PUSH([C])
     
    123123
    124124 if test "x${ENABLE_OPTIMIZATION}" != xno; then
    125   OPTFLAGS="-g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-delete-null-pointer-checks"
     125  OPTFLAGS="-g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops"
    126126  #  -O3 - crashes gcc???!!!
    127127  # -fpermissive
Note: See TracChangeset for help on using the changeset viewer.