Commit graph

9 commits

Author SHA1 Message Date
Simon Howard
09d1177b01 Pass -static-libgcc via CC instead of LDFLAGS.
Using LDFLAGS ought to work, but libtool strips it out when compiling,
so it doesn't. Instead, set the CC variable so that it is always used.
This fixes the dependency on the libgcc DLL on Windows.
2017-01-16 00:55:51 +00:00
Simon Howard
1e478f8cb3 Add -static-libgcc to LDFLAGS on Windows builds.
This is needed to avoid adding a dependency on libgcc_s_sjlj-1.dll.
2017-01-08 21:36:25 +01:00
Simon Howard
55b05163a9 Add comment to explain -rpath linker option.
This resolves a TODO.
2017-01-07 21:17:18 +01:00
Simon Howard
5663a8147b Switch Mac builds to 64-bit binaries.
We already target the OS X 10.7 API, and 10.7 won't run on machines
that don't have a 64-bit-capable processor. So there's no reason not
to do this now.
2017-01-07 21:13:50 +01:00
Simon Howard
dcb99e1b11 Allow package overrides for default variant.
By default we build the stable variant but provide a user-editable
list of packages which will be built at the latest variant instead.
Rename chocolate-doom-git package to chocolate-doom and have it use
the latest variant for the current Git build.
2016-06-15 19:26:20 -04:00
Simon Howard
fda69b6ee1 Add variable for passing options to make.
Include a commented-out example of how to use -j to do multicore builds.
2016-02-18 00:37:46 -05:00
Simon Howard
2aa6068540 Change mingw BUILD_HOST example to mingw64. 2016-02-18 05:03:40 +00:00
Simon Howard
771bc47e2c Refactor to support cross-compiling. 2016-02-17 21:55:55 -05:00
Simon Howard
9162916169 Split out build environment setup to a separate file. 2016-02-16 23:34:05 -05:00