Commit Graph

22 Commits

Author SHA1 Message Date
Michael Forney 2eddb78d1b Store dist files in config.distdir
This makes it easy to remove old distfiles with `git clean -f dist`.
2026-03-12 16:40:37 -07:00
Michael Forney 547047da93 Add -Werror=implicit-function-declaration to default CFLAGS 2024-08-15 01:09:25 -07:00
Michael Forney 977cc8728b Try to improve config.fs explanation 2024-08-15 01:09:25 -07:00
Michael Forney 43fe67e5cb Make man page compression optional 2024-02-07 20:50:18 -08:00
Michael Forney 202d3cece0 Toolchain pie flag is no longer needed 2021-07-25 21:11:05 -07:00
Michael Forney ea6a5ef192 Add some more comments about how to use config.fs 2021-06-27 01:51:57 -07:00
Michael Forney 7df1a7fabf Add missing -fPIE to default CFLAGS, and update .build.yml for static PIE 2020-12-04 14:04:17 -08:00
Michael Forney 5b63e81064 Switch back to -static-pie by default
Now that the toolchains at musl.cc support -static-pie, enable it
by default.
2020-12-03 21:11:43 -08:00
Michael Forney d94a0753e7 Add -O2 to host cflags by default 2020-06-22 23:33:21 -07:00
Michael Forney bebb843e30 Re-add accidentally removed -static flag 2020-06-03 21:24:24 -07:00
Michael Forney 0c1fb41624 Disable static PIE in default config for now
musl.cc toolchains build libc.a without -fPIC, so this makes them
usable without any changes to the default configuration.
2020-06-03 17:48:48 -07:00
Michael Forney f0fb0e5177 Start to support configurable prefix 2020-05-25 21:11:21 -07:00
Michael Forney ecc7a257aa Use -Os instead of -O2 by default 2020-04-22 22:55:05 -07:00
Michael Forney 84c464c9f1 Use mainline gcc supported -static-pie flag
Using -static and -pie together is a musl-cross-make specific patch.
Instead, use -static-pie, which is what upstream gcc decided on.
2020-03-29 13:16:06 -07:00
Michael Forney 08cca5431f Move toolchain config into config.lua 2020-01-29 22:14:33 -08:00
Michael Forney 051963c7fe Add support for building multiple configurations
Now, you can build in separate directories per configuration:

	mkdir foo
	(cd foo && ../setup.lua)
	samu -C foo
2020-01-29 22:14:33 -08:00
Michael Forney f16ecebbc4 No C++ components anymore 2019-07-06 01:24:36 -07:00
Michael Forney d19e6b823b Use musl 1.1.20 getentropy 2018-11-06 00:00:25 -08:00
Michael Forney 8bd73d3237 Build static PIEs by default 2018-02-16 02:52:34 -08:00
Michael Forney 0ca1a4ab49 libdrm: Build libdrm_amdgpu.a 2017-11-14 22:47:29 -08:00
Michael Forney 003dbc7488 Move defaults to config.def.lua 2017-10-24 02:01:14 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00