summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hello/hello_world_c/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/hello/hello_world_c/wscript b/hello/hello_world_c/wscript
index c7c1528..74e191b 100644
--- a/hello/hello_world_c/wscript
+++ b/hello/hello_world_c/wscript
@@ -15,18 +15,18 @@ def build(bld):
arch_bsp = bld.get_env()['RTEMS_ARCH_BSP']
arch = bld.get_env()['RTEMS_ARCH']
bsp = bld.get_env()['RTEMS_BSP']
+ cflags = bld.get_env()['CFLAGS']
#
# The include paths and defines.
#
bld.includes = ['.']
bld.defines = ['PACKAGE_VERSION="' + version + '"']
- bld.cflags = ['-g', '-O']
bld(features = 'c cprogram',
target = 'hello',
includes = bld.includes,
defines = bld.defines,
- cflags = bld.cflags,
+ cflags = cflags,
source = ['test.c'])