Changeset adfa43c in examples-v2


Ignore:
Timestamp:
Nov 22, 2013, 11:49:52 AM (5 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
b9cf40d
Parents:
0d56108
git-author:
Gedare Bloom <gedare@…> (11/22/13 11:49:52)
git-committer:
Gedare Bloom <gedare@…> (12/12/13 19:55:54)
Message:

hello: get CFLAGS from environment in wscript

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hello/hello_world_c/wscript

    r0d56108 radfa43c  
    1616    arch = bld.get_env()['RTEMS_ARCH']
    1717    bsp = bld.get_env()['RTEMS_BSP']
     18    cflags = bld.get_env()['CFLAGS']
    1819
    1920    #
     
    2223    bld.includes = ['.']
    2324    bld.defines = ['PACKAGE_VERSION="' + version + '"']
    24     bld.cflags = ['-g', '-O']
    2525
    2626    bld(features = 'c cprogram',
     
    2828        includes = bld.includes,
    2929        defines = bld.defines,
    30         cflags = bld.cflags,
     30        cflags = cflags,
    3131        source = ['test.c'])
    3232
Note: See TracChangeset for help on using the changeset viewer.