config/debug/strace.in
author Samuel Martin <smartin@aldebaran-robotics.com>
Sat Apr 13 19:41:36 2013 +0200 (2013-04-13)
changeset 3206 7fe58a4f79f8
parent 3142 6569f6a9060c
child 3255 4f3536b12be5
permissions -rw-r--r--
complibs/ppl: only add -fpermissive flag to CXXFLAGS

-fpermissive is not a valid option to gcc.

Adding it to the CFLAGS make the ppl checks fail with the following
error:

[ALL ] Making check in tests
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ERROR] make[7]: *** [formatted_output.o] Error 1

Signed-off-by: "Samuel Martin" <smartin@aldebaran-robotics.com>
Message-Id: <bba2482a06a11415207e.1365876457@smartin-de-2.aldebaran.lan>
Patchwork-Id: 236383
     1 # strace
     2 
     3 ## depends on ! BACKEND
     4 
     5 choice
     6     bool
     7     prompt "strace version"
     8 # Don't remove next line
     9 # CT_INSERT_VERSION_BELOW
    10 
    11 config STRACE_V_4_6
    12     bool
    13     prompt "4.6"
    14     depends on CONFIGURE_has_xz
    15 
    16 config STRACE_V_4_5_20
    17     bool
    18     prompt "4.5.20"
    19 
    20 config STRACE_V_4_5_19
    21     bool
    22     prompt "4.5.19"
    23 
    24 config STRACE_V_4_5_18
    25     bool
    26     prompt "4.5.18"
    27 
    28 endchoice
    29 
    30 config STRACE_VERSION
    31     string
    32 # Don't remove next line
    33 # CT_INSERT_VERSION_STRING_BELOW
    34     default "4.6" if STRACE_V_4_6
    35     default "4.5.20" if STRACE_V_4_5_20
    36     default "4.5.19" if STRACE_V_4_5_19
    37     default "4.5.18" if STRACE_V_4_5_18