summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Restore -O2 optimization after gcc 4.2.1 import, which hasdelphij2007-08-141-1/+1
| | | | | | | fixed the issue raised by gcc 4.2.0. Tested with: test case found in gcc bug 32500 Approved by: re (kensmith), ache, kan
* Put local symbol suppression rule into most recent (e.g. last) versionkan2007-07-211-3/+5
| | | | | | block. Approved by: re (kensmith)
* Switch to "-O1 -pipe" as cross-build compatible gcc workaround.ache2007-07-011-1/+1
| | | | | | | "Looks like Alexander chimed in with "I'm comfortable with that until we can import a fixed GCC"." Approved by: re (kensmith)
* Back out gcc workaround per re@ request. Details:ache2007-06-281-1/+1
| | | | | | | | | "There seems to be some continuing discussion about how this is best fixed, and we'd like to get Alexander (as our gcc guru) to opine on a final solution before picking one. In the mean time, could you back out the original commit (sys.mk:1.89)?" Approved by: re (rwatson)
* Make zoneinfo optional so that a filesystem upgrade/update does not overwriteremko2007-06-261-0/+1
| | | | | | | | | | | possibly installed thirdparte zoneinfo databases (from ports for example). PR: bin/104713 Submitted by: Mark Andrews <Mark_Andrews at isc dot org> (original patch rewritten by me to be more consistent with the new practise). Approved by: re (kensmith) Approved by: imp (mentor) Reviewed by: ru (some time ago already)
* This is temp workaround of nasty gcc 4.2.0 -O2 bug which may skip the restache2007-06-261-1/+1
| | | | | | | of the loop when arrays used inside. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500 Approved by: re (kensmith)
* Options spring cleanup:sepotvin2007-06-131-0/+2
| | | | | | | | | | - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed Approved by: kan (mentor) Reviewed by: ru
* Break long linepav2007-06-011-2/+3
| | | | Submitted by: ru
* Add bsd.port.options.mk, a stub to include parts of bsd.port.mk that handlepav2007-06-012-1/+9
| | | | | | | | | | OPTIONS resolving. This will allow us to load bsd.port.mk in port Makefiles in three steps (options, pre, post), allowing us to manipulate USE_* flags conditionally on OPTIONS values. With hat: portmgr Reviewed by: ru MFC after: 1 week
* Temporarily add 'WITH_GCC3' that removes -Wno-pointer-sign from theobrien2007-05-241-0/+2
| | | | | | | compiler invocation. This is just to help get over the hump of people tracking down bugs that may cross the GCC 4.2 upgrade. It is envisioned that this option goes away after a suitable amount of time.
* Style: remove redundant parentheses.ru2007-05-212-2/+2
|
* GCC doesn't segfault anymore while building world with -mcpu=xscale, so use it.cognet2007-05-211-3/+1
|
* Introduce WITHOUT_SSP option that allows users to exclude LGPLedkan2007-05-191-0/+1
| | | | libssp from the build.
* Universally disable -Werror until src/ is in better shape for GCC 4.2.kan2007-05-191-0/+4
| | | | | | | There are new warnings that kill the build otherwise. Disable pointer destination sign mismatch warning alltogether. Our tree is in no shape to have that enabled yet.
* Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.deischen2007-05-134-3/+10
| | | | | | | | | | Warning, after symbol versioning is enabled, going back is not easy (use WITHOUT_SYMVER at your own risk). Change the default thread library to libthr. There most likely still needs to be a version bump for at least the thread libraries. If necessary, this will happen later.
* Use CPP to preprocess version map files so we can conditionalize symbols.deischen2007-04-291-2/+4
|
* When generating the version map file, order versions oldestdeischen2007-04-231-19/+36
| | | | | | | first to make it easier for rtld to choose the oldest version of a symbol. Sumbitted by: kan
* Oops, keep things sorted.pjd2007-04-061-1/+1
| | | | Found by: ru
* Connect ZFS to the build.pjd2007-04-061-1/+6
|
* Add new libraries. We may want to rename libumem to not colide withpjd2007-04-061-0/+6
| | | | ports/devel/umem.
* Add entry for bsd.symver.mk.kan2007-04-031-1/+1
| | | | Pointed out by: ru
* Break out Version.map generation code from bsd.lib.mk into akan2007-04-032-33/+44
| | | | | separate bsd.symver.mk file. Include bsd.symver.mk in bsd.lib.mk to maintain the status quo.
* Stop clobberring the application namespace with localru2007-03-121-37/+37
| | | | | | | | variables such as "sect", "page", and "target"; use underscored versions instead. Discussed with: kan MFC after: 3 days
* Enable ncurses wide character supportrafan2007-03-091-0/+1
| | | | | Approved by: delphij (mentor) Tested by: kris on pointyhat (early version), current@
* Remove old libmytinfo link.rafan2007-02-011-1/+0
| | | | | Approved by: delphij (mentor) Requested by: ache
* Replace the GNU gzip with a slightly modified NetBSD gzip. Thedelphij2007-01-261-0/+2
| | | | | | | | | | | | | | | | | | | | | NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation. - Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2. Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush)
* "If I only had a brain..."des2007-01-171-1/+1
| | | | MFC after: 3 weeks
* Correct errors in previous commit. I didn't realize that ${CPUTYPE} isdes2007-01-171-6/+6
| | | | | | | | passed unmodified to gcc. Therefore, "prescott" should be used for Prescott, Nocona, Core and Core 2 CPUs when building 32-bit code, and "nocona" should be used for Prescott, Nocona and Core 2 CPUs when building 64-bit code. MFC after: 3 weeks
* On i386, make "prescott" an alias for "nocona" (instead of the other waydes2007-01-171-3/+7
| | | | | | | | | around), and introduce "core", along with the alias "core2". All of these enable SSE3. On amd64, add "core2" (enables SSE3). MFC after: 3 weeks
* Try harder to not leak src/ build stuff into ports/ environmentru2006-11-192-2/+7
| | | | | | by not exposing the MK_* variables that were designed for src/. Requested by: many
* Change one more ARM_BIG_ENDIAN to TARGET_BIG_ENDIAN.cognet2006-11-051-1/+1
|
* Allow a makefile to set IGNORE_PRAGMA so that OpenSolaris code canjb2006-11-041-0/+4
| | | | | | | be built with other gcc warnings enabled. Every Solaris source file has a #pragma ident in it. We can just ignore those definitions.
* Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaultingjb2006-11-011-0/+1
| | | | | | | | | | | | | to WITH_CDDL. This option enables building code that is licensed under Sun's CDDL. The DTrace code is licensed that way, so by default it will get built unless the WITHOUT_CDDL option is used. There is another build toggle, NO_CTF, which turns off execution of ctfconvert and ctfmerge in sys.mk, but this can't be implemented as WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and sys.mk is included automatically by make.
* - Don't pass an empty ``NM='' to lorder(1) when NM is unset.ru2006-10-251-3/+17
| | | | | - Don't redundantly use "env". - Protect NM value with quotes, just in case.
* Use TARGET_BIG_ENDIAN instead of ARM_BIG_ENDIANcognet2006-10-191-1/+1
|
* Remove X11BASE from here so the one from bsd.port.mk has a chance to setlesi2006-10-061-2/+0
| | | | | | | | default. Grepping through src shows only gnu/usr.bin/groff which doesn't use it in src build and OpenSSH for which this was a NOOP. Discussed with: des, ru Approved by: ru
* Removed libc_r build support.ru2006-09-303-4/+0
|
* Don't run install-info under lockf if not installing in parallel.ru2006-09-291-0/+7
| | | | Requested by: rwatson
* When building WITHOUT_ASSERT_DEBUG, we need to disable -Werror as its easyobrien2006-09-132-0/+2
| | | | to see "warning: unused variable `foo'".
* Add a knob for compiling the tree -DNDEBUG. This turns off all theimp2006-09-113-0/+9
| | | | | | | | asserts and makes binaries smaller. The binaries also become repeatable again. As it was, without this md5's of binaries built with different paths differed. # Where do I document this?
* Pass whatever the value of NM down to lorder. This allows one toimp2006-08-251-3/+3
| | | | | | | override NM in Makefiles when, for example, cross compiling and have that value be used by lorder. NM normally isn't defined, so we pass a null value to lorder. lorder says 'NM=${NM-nm}' which causes it to pickup the default value.
* Don't read in /etc/src.conf when building ports.obrien2006-08-241-0/+3
| | | | | Reported by: obrien Submitted by: ru
* Remove alpha left-overs.ru2006-08-222-27/+1
|
* Revert previous commit. Pre-Nehemiah C3 CPUs do have 3DNow!; it doesn'tdes2006-08-131-1/+1
| | | | | show up in dmesg because identcpu.c only looks for it on Intel and AMD processors.
* I don't know where I got the idea that the VIA C3 has 3DNow!; it doesn't.des2006-08-121-1/+1
| | | | | | | It does have MMX (though MMX support is reputed to be incomplete in early generations), and later generations have SSE. MFC after: 2 weeks
* Reintroduce CSTD, which allows a Makefile to specify the precise dialectdes2006-08-111-0/+15
| | | | | | | | | | | of C in which the program or library is written. Note that this is *not* intended to be used across the whole tree. It is intended to be used for individual libraries or programs which use specific language features which the compiler must know about in order to produce correct warnings at high WARNS levels. MFC after: 1 month
* Grr we also need to set -mbig-endian to LDFLAGS. Now I can build acognet2006-07-211-0/+1
| | | | big-endian arm world.
* Remove ALPHA optimization pointer for gcc flags.imp2006-07-201-1/+1
| | | | Add ARM optimization pointer for gcc flags.
* Oops LDFLAGS can be used to invoke gcc, so directly add -EB to {LD}.cognet2006-07-201-1/+1
|
* Honor ARM_BIG_ENDIAN by adding -mbig-endian to CFLAGS and -EB to LDFLAGS ifcognet2006-07-201-0/+5
| | | | it is defined.
OpenPOWER on IntegriCloud