changeset 2977:0870333f7ba8

* cdl/hal.cdl: Suppress -fprofile-arcs (which implies -lgcov) when generating extras.o.
author jld
date Sat, 20 Nov 2010 20:42:51 +0000
parents 9843108eda9d
children f01575de4e32
files packages/hal/common/current/ChangeLog packages/hal/common/current/cdl/hal.cdl
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/common/current/ChangeLog
+++ b/packages/hal/common/current/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-20  John Dallaway  <john@dallaway.org.uk>
+
+	* cdl/hal.cdl: Suppress -fprofile-arcs (which implies -lgcov) when
+	generating extras.o.
+
 2010-10-09  John Dallaway  <john@dallaway.org.uk>
 
 	* doc/porting.sgml: Delete references to the memory layout editor.
--- a/packages/hal/common/current/cdl/hal.cdl
+++ b/packages/hal/common/current/cdl/hal.cdl
@@ -8,7 +8,7 @@
 ## ####ECOSGPLCOPYRIGHTBEGIN####                                            
 ## -------------------------------------------                              
 ## This file is part of eCos, the Embedded Configurable Operating System.   
-## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2010 Free Software Foundation, Inc.
 ##
 ## eCos is free software; you can redistribute it and/or modify it under    
 ## the terms of the GNU General Public License as published by the Free     
@@ -69,7 +69,7 @@ cdl_package CYGPKG_HAL {
 
     make -priority 250 {
         <PREFIX>/lib/extras.o: <PREFIX>/lib/libextras.a
-        $(CC) $(CFLAGS) -nostdlib -Wl,-r -T /dev/null -Wl,--whole-archive -o $@ $<
+        $(CC) $(CFLAGS) -fno-profile-arcs -nostdlib -Wl,-r -T /dev/null -Wl,--whole-archive -o $@ $<
     }   
 
     cdl_option CYGBLD_GLOBAL_WARNFLAGS {