Closed weinholt closed 5 years ago
I had thought about this, and presumably on debian you would need to pass -lz
every time you run compile-chez-program
, not just on the initial build. Would it make more sense to have a config option for extra compiler arguments that are always provided?
I agree that it would make more sense. I will redo it as a gen-config argument.
Additional arguments to gen-config.ss are now saved to config.ss and appended with compiler-args.
This allows a user to pass -lz to the compiler, which is required on Debian.
Admittedly I didn't check if it's harmless to always pass -lz.