[csw-maintainers] BUILD64

Roger Håkansson hson at opencsw.org
Wed Jan 13 18:10:39 CET 2010


Some info someone else might find usable...


According to "GAR Variable Reference", BUILD64 should be set to 1 to 
build 64-bit targets, but actually the current GAR code doesn't care 
what you set it to, just that its set.
If you check out something that has BUILD64=1 set and want to build a 
32-bit-only package, I couldn't find any way except edit the Makefile 
before building.
So I patched my local gar.conf.mk to fix this.
"$if( $(BUILD64)...." is changed to "$if( eq($(BUILD64),1)...."

With that change, setting "BUILD64=0" in ~/.garrc or prepending before 
gmake, will let you build a 32-bit-only package.
(my personal x86-build server isn't 64-bit ready so I can only run 
Solaris8 and Solaris10 in 32-bit-mode)




More information about the maintainers mailing list