Subject: CFLAGS in devel/bmake
To: None <tech-pkg@NetBSD.org>
From: Amitai Schlair <schmonz@pkgsrc.org>
List: tech-pkg
Date: 05/22/2007 18:40:26
Building a "Universal" (fat) binary on Mac OS X requires passing some
extra arguments to the compiler and linker. Apple recommends setting
them as CFLAGS and LDFLAGS, and this does the trick for software which
respects those variables.
The following diff makes devel/bmake respect CFLAGS passed in the
environment, which lets me build and run a Universal binary of bmake. Is
this OK to commit?
http://netbsd.schmonz.com/patches/bmake.diff