Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#2419 assigned defect

rtems_waf: Compiler flags appear multiple times

Reported by: Sebastian Huber Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: unspecified Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

For example:

Checking for RTEMS_DEBUG
==>
#include <rtems/score/cpuopts.h>
#ifndef RTEMS_DEBUG
 #error RTEMS_DEBUG is not defined
#endif
#if RTEMS_DEBUG
 /* RTEMS_DEBUG is true */
#else
 #error RTEMS_DEBUG is false
#endif
int main() { return 0; }

<==
[1/2] [32mc: build/.conf_check_e18ee633068d2a9f6360268e197c95ec/test.c -> build/.conf_check_e18ee633068d2a9f6360268e197c95ec/testbuild/test.c.1.o
[0m
['/opt/rtems-4.12/bin/arm-rtems4.12-gcc', '-qrtems', '-B/opt/rtems-4.12/arm-rtems4.12/lib/', '-B/opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/', '--specs', 'bsp_specs', '-march=armv7-a', '-march=armv7-a', '-mthumb', '-mthumb', '-mfpu=neon', '-mfpu=neon', '-mfloat-abi=hard', '-mfloat-abi=hard', '-mtune=cortex-a9', '-mtune=cortex-a9', '../test.c', '-c', '-o', 'test.c.1.o']

Change History (2)

comment:1 Changed on 01/26/17 at 07:05:37 by Sebastian Huber

Milestone: 4.114.11.2

comment:2 Changed on 02/15/17 at 13:37:51 by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: changed from Chris Johns to Needs Funding
Status: newassigned
Note: See TracTickets for help on using tickets.