[openbeos] Re: Radeon problems

Hi Marcus,

Marcus Overhagen a écrit :

I also think that rebuilding *.a files when a source file changes is better than updating, to make sure that old symbols (which no longer have any sourcefile, because of deleting or renaming, are removed.

Whats the HAIKU_ARFLAGS for? I think those -cru shouldn't be used.


The build system uses HAIKU_ARFLAGS when the target platform is Haiku and HOST_ARFLAGS when the target platform is host (see in build/jam/BuildSetup)
The default is "ru", "cru" is working good enough. Why do you think it shouldn't be used ?
This should also be added to the patch : HOST_ARFLAGS = "cru" ;


Index: build/jam/BuildSetup
===================================================================
--- build/jam/BuildSetup        (revision 17231)
+++ build/jam/BuildSetup        (working copy)
@@ -35,7 +35,13 @@
       include libgccObjects ;
}

+HAIKU_ARFLAGS = "cru" ;

+actions together piecemeal Archive
+{
+       $(AR) $(<) $(>)
+}
+
# supported debug levels
HAIKU_DEBUG_LEVELS = 0 1 2 3 4 5 ;






Other related posts: