summaryrefslogtreecommitdiff
path: root/share/mk/bsd.own.mk
AgeCommit message (Collapse)Author
2019-04-21Build clang on powerpc.Mark Kettenis
ok deraadt@
2019-04-17Switch powerpc to big PIC. This is necessary to build libc++abi and libc++Mark Kettenis
since clang doesn't seem to support secure-plt for small pic. ok deraadt@, millert@
2019-04-01aarch64 also uses PIE by default, make ${NOPIE*} flags availableJeremie Courreges-Anglas
Might help speed up parts like base-clang. Also, better be consistent. ok kettenis@ deraadt@
2019-01-28Switch i386 to use lld as the default linker.Christian Weisgerber
ok deraadt@
2018-11-11Build clang on mips64.Visa Hankala
OK deraadt@
2018-11-08Do not pass -fno-pie to the compiler on mips64. It has no effectVisa Hankala
with base gcc, whereas with clang it causes an error. Suggested by and OK kettenis@
2018-10-22Switch amd64 to use lld as the default linker.Christian Weisgerber
ok kettenis@ deraadt@
2018-07-26Add infrastructure to install lld as the default linker. The old GNU linkerMark Kettenis
will be installed as /usr/bin/ld.bfd on supported systems. This allows users to fall back on the old linker by using the -fuse-ld=bfd option on systems where lld is the default linker. Switch armv7 to use lld as the default linker. On arm64 we already use lld as the default linker. Other platforms will keep using the GNU linker for now. ok patrick@, deraadt@, phessler@
2018-01-19Build clang on sparc64.Mark Kettenis
ok deraadt@
2018-01-19Switch the default compiler on armv7 to clang.Mark Kettenis
ok patrick@
2017-10-26Build clang on armv7.Mark Kettenis
ok jsg@, patrick@, deraadt@
2017-07-26switch the default compiler on amd64 and i386 to clang,Robert Nagy
but keep gcc4 in the build for these as well ok deraadt@
2017-06-19g/c ASPICFLAG.Martin Pieuchot
This used to be necessary a long time ago in the... gcc 2.95 days. from miod@
2017-04-18ship clang with i386 and amd64. It does not become the main compiler YET.Theo de Raadt
ok kettenis
2017-04-17Change build infrastructure to allow building both gcc and clang. ThisMark Kettenis
doesn't actually flip the switch yet, so aarch64 continues to be the only architecture for which we build clang. ok jsg@, deraadt@
2016-12-18Introduce a list of architectures that use clang as compiler. ThePatrick Wildt
first arch on that list is aarch64. ok kettenis@
2016-11-19Enable builds with a dedicated user that cannot elevate privileges or writeTheo Buehler
to /usr/src or /usr/xenocara. Change /usr/{,x}obj to owner build:wobj with mode 770 and install the systemwide makefiles before starting a build. The root of the noperm fs containing DESTDIR should also be owned by build:wobj. Developers will need to add their users to group wobj to be able to write to /usr/{,x}obj/. "push forward" deraadt; testing, input & ok rpe
2016-10-05De-escalate to an unprivileged users during 'make build' and 'make release'.Martin Natano
- If you start make build as root, everything will be run as root. Nothing new here. New is, that you can set BUILDUSER=somebody and the unprived parts will be run as somebody. - If you start make build with sudo, the unprived parts will be run as the real user (meaning YOU). You can still set BUILDUSER=somebody and the uprived parts will run as somebody. - If you start make build as a normal user it will error out. "I'm sorry Dave." Note that DESTDIR must be on partition with the noperm flag set for make release to work correctly as an unprivileged user. idea and ok deraadt input and ok tb ratchov millert rpe, halex and probably others where part of the conversation to make this happen, thanks!
2016-09-21Loadable kernel modules are gone.Martin Natano
ok millert, deraadt and tb, who sent the same diff to tech@ some time ago
2016-09-08Enable -static -pie on arm.Mark Kettenis
ok guenther@, jsg@
2016-09-03Enable PIE on arm now that sjlj exceptions are no longer used afterJonathan Gray
the switch to eabi. This does not include static PIE which will be handled later. A specific sequence of steps is required to cross over this change, using a snapshot is the easiest way to do so. ok kettenis@
2016-09-01remove sparc supportTed Unangst
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSPhilip Guenther
contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
2016-07-04gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning upPhilip Guenther
symbol exports, so delete ${VISIBILITY_HIDDEN} as unused ok kettenis@ deraadt@
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2015-10-26Nothing in base uses native language support anymore. Remove NLSAlexander Bluhm
support from the makefiles. OK naddy@
2015-08-31update reasons for arch without pie; with pascalTheo de Raadt
2015-07-03Enable static pie on sparc; be sure to upgrade your compiler before yourMiod Vallat
next build (or wait for the snapshot to reach the mirrors)
2015-06-02Make sparc go PIE (not `static PIE' yet).Miod Vallat
2015-06-01Now that we do not need to build binutils 2.15 (except for gdb), simplify theMiod Vallat
build logic.
2015-06-01Switch m88k ports to binutils 2.17.Miod Vallat
2015-05-29Switch vax to bunnytils 2.17.Miod Vallat
2015-05-28Invert the binutils 2.17 logic to only list non-2.17 platforms.Miod Vallat
2015-05-28Switch alpha, arm, sh and sparc to binutils 2.17.Miod Vallat
2015-05-21no such thing as mips64leMiod Vallat
2015-05-21Switch amd64, hppa, mips64, mips64le and powerpc to binutils 2.17.Mark Kettenis
ok deraadt@
2015-05-08Switch i386 and sparc64 to binutils 2.17. More architectures to follow ifMark Kettenis
this doesn't cause any serious regressions. ok espie@, pascal@, deraadt@
2015-01-06mips64 architectures moving to static PIETheo de Raadt
2015-01-03ok, landisk snapshots are out that do static PIETheo de Raadt
2014-12-31Do not take sh to STATICPIE yet. That will happen once matchingTheo de Raadt
snapshots exist. That is why mips64 is still held up (arranged with kettenis)
2014-12-30self-relocating crt0 bits for sh, and enable static pie by default. With someMiod Vallat
archdep.h help from kettenis@
2014-12-28alpha now supports -static -pie binaries; ok kettenisTheo de Raadt
2014-12-27As indicated by kettenis and kurt, hppa i386 powerpc now support staticTheo de Raadt
pie. snapshots matching this change in behaviour heading out soon.
2014-12-25We no longer need -Wl,-Bsymbolic for -static -pie.Mark Kettenis
2014-12-25Delete misleading and dangerous comment about customising STATIC. Nowadays,Pascal Stumpf
it's not a user-settable knob. general agreement from miod@ kettenis@ deraadt@
2014-12-23sparc64 can move to static pieTheo de Raadt
2014-12-23Small changes to builTheo de Raadt
2014-04-22Finally remove KERBEROS5? from the Makefile infrastructure.Reyk Floeter
ok henning@
2014-04-22The complexity and quality of kerberosV and the fact that almostReyk Floeter
nobody is using it doesn't justify to enable it by default. It will be disabled and removed from base and possibly be moved to ports. Discussed with many. Tests by henning@ reyk@ and others. ok henning@
2014-04-13Clean up last bits of TCP_WRAPPERS and ELF_TOOLCHAIN.Brad Smith
ok miod@