# HG changeset patch # User bartv # Date 1233583318 0 # Node ID c880f1f39640a4591fc3ca334d6826620bbccde3 # Parent 81ff40693ae452c5c1b599dc845e2b2de34a3c52 Update compiler flags. diff --git a/packages/hal/calmrisc32/core/current/ChangeLog b/packages/hal/calmrisc32/core/current/ChangeLog --- a/packages/hal/calmrisc32/core/current/ChangeLog +++ b/packages/hal/calmrisc32/core/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_calm32_core.cdl: update compiler flags for gcc 4.x + 2004-04-22 Jani Monoses * cdl/hal_calm32_core.cdl : diff --git a/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl b/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl --- a/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl +++ b/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl @@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM32_CORE { display "Global compiler flags" flavor data no_define - default_value { "-fno-builtin -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . "-fno-builtin -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " } description " This option controls the global compiler flags which are used to compile all packages by