Commit Graph

9 Commits

Author SHA1 Message Date
Brent Cook
03a321e558 disable symbol hiding for now 2016-11-05 06:16:07 -05:00
Jeremy Huddleston Sequoia
448645d479 Use bundled headers instead of installed headers when building
The build system incorrectly set include directives in AM_CFLAGS which
causes them to be placed after the configured CPPFLAGS.  Thus, if
a user or packaging system sets CPPFLAGS to a location that has
libressl or openssl headers installed, they will be used instead
of the bundled versions.  This corrects that issue by setting up
the variables correctly.

https://github.com/libressl-portable/portable/issues/150

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2015-10-14 16:33:39 -05:00
Brent Cook
5d8a1cf715 add initial CMake and Visual Studio build support
This moves the compatibility include files from include to
include/compat so we can use the awful MS C compiler
<../include/> trick to emulate the GNU #include_next extension.

This also removes a few old compat files we do not need anymore.
2015-07-21 12:08:18 -05:00
Brent Cook
ad2a38ab4a rework CFLAGS/CPPFLAGS settings during configuration
Move define adjustments to CPPFLAGS.
Adjust user CFLAGS directly, do not override during configuration.
USER_CFLAGS is not necessary to build libcompat_noopt correctly.
2015-03-22 07:43:55 -05:00
Brent Cook
605acdcef2 remove obsolete define 2014-12-06 17:47:44 -06:00
Brent Cook
2cef68f3ed allow inline asm
use default of -std=gnu99 for it to be recognized
2014-08-16 14:16:01 -05:00
Brent Cook
0e9857d448 put CPP defines in CPPFLAGS 2014-07-11 03:56:57 -05:00
Brent Cook
589165fef3 remove unneeded CPP flags 2014-07-10 22:39:41 -05:00
Brent Cook
e9eff5016a initial top-level import 2014-07-10 06:07:09 -05:00