| #
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
525438ea |
| 18-Apr-2023 |
John Baldwin <jhb@FreeBSD.org> |
sendmail: Silence -Wdeprecated-non-prototype warnings.
These will hopefully be fixed upstream eventually, but silence the warnings until then.
Reviewed by: emaste Differential Revision: https://rev
sendmail: Silence -Wdeprecated-non-prototype warnings.
These will hopefully be fixed upstream eventually, but silence the warnings until then.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39518
show more ...
|
| #
a35f04fb |
| 12-Mar-2017 |
Warner Losh <imp@FreeBSD.org> |
Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles.
Differential Revision: https://reviews.freebsd.org/D9
Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles.
Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
show more ...
|
| #
b791fbe6 |
| 25-Nov-2015 |
Bryan Drewery <bdrewery@FreeBSD.org> |
META MODE: Don't create .meta files when symlinking sources into the obj directory.
Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln
META MODE: Don't create .meta files when symlinking sources into the obj directory.
Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine.
Sponsored by: EMC / Isilon Storage Division
show more ...
|
| #
3e11bd9e |
| 25-Nov-2014 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Convert to usr.bin/ to LIBADD Reduce overlinking
|
| #
5608fd23 |
| 19-Aug-2014 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Revert r267233 for now. PIE support needs to be reworked.
1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generati
Revert r267233 for now. PIE support needs to be reworked.
1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed.
We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled.
Reported by: kib
show more ...
|
| #
864c53ea |
| 08-Jun-2014 |
Bryan Drewery <bdrewery@FreeBSD.org> |
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be ena
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR.
Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2]
Mark known build failures as NO_PIE for now.
The only known runtime failure was rtld.
[1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
show more ...
|
| #
a7449e3c |
| 16-Feb-2013 |
Dimitry Andric <dim@FreeBSD.org> |
Since clang 3.2 now has an option to suppress warnings about implicitly promoted K&R parameters, remove the workarounds added for sendmail components in r228558.
MFC after: 1 week
|
| #
07b202a8 |
| 28-Feb-2012 |
Dimitry Andric <dim@FreeBSD.org> |
Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles.
Instead, use the following extra macros
Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles.
Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations)
As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following:
CC=clang CXX=clang++ CPP=clang-cpp
MFC after: 2 weeks
show more ...
|
| #
1d44b5b9 |
| 19-Dec-2011 |
Dimitry Andric <dim@FreeBSD.org> |
In usr.bin/vacation/Makefile, fix a typo in the comment about clang warnings.
Spotted by: arundel MFC after: 1 week
|
| #
cb3b0d8f |
| 17-Dec-2011 |
Dimitry Andric <dim@FreeBSD.org> |
Unfortunately, clang gives warnings about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now.
Unfortunately, clang gives warnings about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now.
MFC after: 1 week
show more ...
|
| #
b7946da9 |
| 02-Jan-2010 |
Ed Schouten <ed@FreeBSD.org> |
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
|
| #
ee66677a |
| 10-Jun-2005 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Remove kludges intended to support src trees with partial obj trees.
Discussed with: ru
|
| #
dce6e651 |
| 07-Jul-2003 |
Gregory Neil Shapiro <gshapiro@FreeBSD.org> |
Remove MAINTAINER= lines from individual Makefiles in favor of the MAINTAINER file (which already had entries for sendmail).
|
| #
095dae9d |
| 17-Feb-2002 |
Gregory Neil Shapiro <gshapiro@FreeBSD.org> |
Update build infrastructure for sendmail 8.12.
|
| #
e35f9517 |
| 08-Feb-2002 |
Mark Murray <markm@FreeBSD.org> |
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
|
| #
2a33bb35 |
| 11-Dec-2001 |
Mark Murray <markm@FreeBSD.org> |
Protect this from the coming WARNS=2 default.
|
| #
d1ba25f4 |
| 26-Oct-2000 |
Gregory Neil Shapiro <gshapiro@FreeBSD.org> |
Add a MAINTAINER= line so people know who to blame
|
| #
3866ec80 |
| 11-Oct-2000 |
Gregory Neil Shapiro <gshapiro@FreeBSD.org> |
Fix man page installation Style fixes
Submitted by: bde
|
| #
8108227d |
| 10-Oct-2000 |
Gregory Neil Shapiro <gshapiro@FreeBSD.org> |
Use sendmail's version of vacation. It is command line and database compatible with the old version but includes new functionality and bug fixes.
Since it is not part of the NO_SENDMAIL make.conf o
Use sendmail's version of vacation. It is command line and database compatible with the old version but includes new functionality and bug fixes.
Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and libsmutil should always be built for vacation's sake.
PR: 15227
show more ...
|
| #
c3aac50f |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
| #
c115df18 |
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
| #
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
| #
8f1ab0d0 |
| 10-Jan-1997 |
Bruce Evans <bde@FreeBSD.org> |
Removed stray DPADD.
|