| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This is simpler, and is easy to do now that make(1) supports substituting
regexps. Fixed missing '$' anchor in the regexp. Use less cryptic names
for temporary variables.
Submitted by: ru (early version)
Reviewed by: ru
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
All .s files that need cpp(1) processing (see gcc(1) manpage's
DESCRIPTION section) have been repo-copied to .S files. This
is mostly to bring bsd.lib.mk in agreement with sys.mk.
Desired by: obrien
|
|
|
|
|
|
|
|
| |
The only real use of it (lib/libc/Makefile) has been
fixed, and if necessary, the contents of AINC should
be added to CFLAGS.
Explained by: bde
|
|
|
|
| |
and remove the .S.o transformation rule from bsd.lib.mk.
|
|
|
|
| |
(or are subsets) of the corresponding rules in sys.mk.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
symbols from object files has bitrotted over the last
thirteen years, and it now does more harm than good.
An attempt to work around the problems caused by using
ld(1) for stripping was to pass LDFLAGS to the ld(1)
command, but this was not right either as ${LDFLAGS}
should, by design, be used with cc(1) and not ld(1).
One of the proposed solutions was to use the objcopy(1)
utility to do the strip work, and the other would be to
use strip(1), but Bruce Evans suggested not stripping
any symbols at all. This works by leaving the grunt
work to the final strip(1) command (when installing the
binary).
Submitted by: bde
|
|
|
|
|
|
|
| |
components. This is generally considered a non-optimal solution but
it gets the job done for the /rescue case.
Submitted by: Tim Kientzle <kientzle@acm.org>
|
|
|
|
|
| |
were missing. This made it difficult to add backend ABI overrides when
building shared libs.
|
|
|
|
|
|
|
| |
deal with working with the parties to define a coherent definition for
CSTD that doesn't break things.
Core hat seconded by: markm
|
|
|
|
| |
global settings is free to do so in his or her own source tree.
|
|
|
|
| |
libraries that do exception unwinding.
|
|
|
|
|
|
| |
uses alloca() and alloca is impossible to implement as a callable function
on amd64. It has to be a compiler builtin. Note that the bigger problem
is that libc is not c99 clean internally.
|
|
|
|
| |
Desired by: ru
|
| |
|
|
|
|
| |
We can't use straight "c99" due to the lack of alloca.S for non-i386 platforms.
|
| |
|
| |
|
| |
|
|
|
|
| |
*sigh* Just can't get a brake when trying to react too quickly and fix the build.
|
|
|
|
| |
I swore this made it thru a 'make world', but I don't know what happened.
|
|
|
|
| |
Also allow for "CSTD=" in a Makefile.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
known to produce broken code with -march=pentium4. Add a note explaining this.
This should be removed when we update to gcc 3.3 or the bug is otherwise fixed.
Approved by: re
|
|
|
|
|
|
| |
PR: misc/52486
Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
Approved by: re (jhb)
|
|
|
|
|
| |
Noticed by: ru
Approved by: re (amd64-specific low risk stuff)
|
|
|
|
|
|
| |
PR: 35652
Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version)
Approved by: re (bmah)
|
| |
|
| |
|
|
|
|
|
| |
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in which the source code is written. This is controlled by the CSTD
variable, which can have one of the following values:
- "k&r" => -traditional
- "c89" or "c90" => -std=iso9899:1990
- "c94" or "c95" => -std=iso9899:199409
- "c99" => -std=iso9899:1999
The corresponding option is added to CFLAGS regardless of WARNS level.
This also removes -ansi from WARNS level 6, but adds -Wno-long-long to
work around a weird gcc bug (-ansi, which is supposedly equivalent to
-std=iso9899:1990, seems to turn long long warnings off instead of on)
If CSTD is undefined, CFLAGS are unchanged except for the -ansi /
-Wno-long-long change mentioned above for WARNS level 6.
|
|
|
|
| |
If one is using NOSHARED, why build the libs.
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
|
| |
PR: 50801
Submitted by: Glenn Johnson <glennpj@charter.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD. This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build). We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files. We then include this directory when building host binaries.
This removes all the past release compatibilty hacks from various
places in the tree. We still build on tip of stable and current. I
will work with those that want to support more, although I anticipate
it will just work.
Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
|
|
|
|
|
|
|
|
| |
-Wuninitialized does not work without -O.
This fixes the ${WARNS} > 4 compilations with -O0.
Spotted by: marcel
|
|
|
|
|
|
| |
glibc which is externally maintained, so GCC ships with these
warnings turned off by default. This is also consistent with
the src/contrib/gcc/c-lex.c,v 1.2 change.
|
| |
|
| |
|
| |
|
| |
|
| |
|