2
2
How do I compile some specific package with my custom CFLAGS? Other searches suggest that I should just edit the formula by hand but I don't want to do because I want a solution that easily works in all cases.
Or do they strictly not want to allow custom CFLAGS? This suggests it.
Esp., in my case, I just want to pass one of -mmacosx-version-min=10.6
, -isysroot /Developer/SDKs/MacOSX10.6.sdk
, -DMAC_OS_X_VERSION_MIN_REQUIRED=1060
or --with-macos-sdk=/Developer/SDKs/MacOSX10.6.sdk
to CFLAGS because I want to build a library which is compatible with >=MacOSX 10.6.
If you are to distribute the flags anyway, what about storing modified formula in a tap?
– Jokester – 2013-11-06T12:47:45.860@Jokester: What do you mean by "distribute flags"? Also, what modified formula? I don't want to modify any formula. – Albert – 2013-11-06T12:49:34.533