Changeset fff6150 in git for kernel/Makefile.am


Ignore:
Timestamp:
Sep 10, 2012, 3:09:55 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
a497a11b6125be1576a34c48429ba326cafa35e2
Parents:
8d341e5425f8b7b26cdf77eec4ee78cbbb121c5c
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-10 15:09:55+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-10 20:41:20+02:00
Message:
added -Winline compiler option: warn when a function marked inline could not be substituted, and give the reason for the failure

NOTE: see also http://gcc.gnu.org/onlinedocs/gcc/Inline.html
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile.am

    r8d341e rfff6150  
    2121libkerneldir = $(libdir)/singular
    2222
    23 libkernel_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    24 libkernel_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
     23libkernel_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE}
     24libkernel_g_la_CFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE}
    2525## -pedantic
    2626
    27 libkernel_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    28 libkernel_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     27libkernel_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     28libkernel_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    2929# -fdiagnostics-show-option
    3030
     
    103103test_s_g_CFLAGS = ${PIPE}
    104104
    105 test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    106 test_s_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     105test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     106test_s_g_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    107107
    108108testsources = test.cc
     
    123123test_d_g_CFLAGS = ${PIPE}
    124124
    125 test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    126 test_d_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     125test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     126test_d_g_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    127127
    128128test_d_r_SOURCES = $(testsources)
Note: See TracChangeset for help on using the changeset viewer.