Brent Cook
124e0192c8
enable system arc4random on FreeBSD 12+
2023-11-01 06:43:41 -05:00
kinichiro
9a18f4247e
Add libmd as platform specific libraries for Solaris
2022-01-17 19:04:23 +09:00
kinichiro
2f3066df94
Set IA-64 compiler flag only if it is HP-UX with IA-64
...
Compiler switch -mlp64 (GCC) or +DD64(HP CC) gives build failure with
platform HP-UX other than IA-64.
This avoids build break on HP-UX with PA-RISC platform.
Suggested from Larkin Nickle (me <at> larbob org) by libressl ML.
2021-11-23 13:27:17 +09:00
Brent Cook
921c0675a2
Add '--enable-libtls-only' build option
2021-04-07 07:51:45 -05:00
Brent Cook
df3d4bb57a
Add -lbcrypt to Windows builds for CNG in getentropy
2020-11-11 05:39:56 -06:00
Ørjan Malde
b80c4bf262
initial support for midipix
2019-10-20 20:22:22 +02:00
kinichiro
30e91bc6d2
Enable speed on win32
...
- Use thread and sleep instead of signal and alarm, on win32
- Disable -multi option on win32 since fork is hard to implement
2019-07-14 19:45:34 +09:00
Brent Cook
38c884f205
include -ldl for SHA512 operations
2019-04-23 01:54:33 -05:00
Brent Cook
535246269d
add __dead__ annotation support
2019-02-09 09:09:36 -06:00
Brent Cook
8730803401
enable asm for mingw64
2019-01-20 20:03:37 -06:00
Brent Cook
3f189a24f2
check if we need to link pthread dynamically
...
On Linux, bionic and musl for instance do not need libpthread. With
bionic, there is not even a stub library for compatibility.
2019-01-07 06:46:03 -06:00
Brent Cook
3fb9e63b90
bump base requirement to Windows Vista, use builtin inet_ntop/pton
2018-03-14 07:29:04 -05:00
kinichiro
0ed618095d
Add libpthread for libtls build
2018-03-13 23:16:10 +09:00
kinichiro
9e06be3fcd
Remove 64bit build designation on Solaris
...
- Revert commit c18852f650
- Remove -m64 from CMakeLists.txt by commit 08089a1b20
- Suggested by @andy-js in conversation https://github.com/libressl-portable/portable/pull/327
2018-01-11 23:46:22 +09:00
kinichiro
5afc4e3cd8
add prototype definitions of asprintf and vasprintf for CYGWIN build
...
- define _GNU_SOURCE in case of cygwin
As compilation warning report by @Dravion
2017-07-16 23:59:55 +09:00
kinichiro
c18852f650
Set Solaris build default to 64 bit
2017-07-08 01:43:07 +09:00
Paul Graham
b49242fcb0
Remove misleading CFLAGS / LDFLAGS.
...
These variables were being ignored because libtool doesn't pass -static-libgcc to GCC.
If you want to link libgcc statically, currently the only way to achieve this is to
manually add -static-libgcc to CC variable. See:
http://www.mingw.org/wiki/HOWTO_Sneak_GCC_Switches_Past_Libtool
2017-06-09 13:33:14 +02:00
Simone Basso
a206997ad9
Sync getentropy() checks with use-builtin-arc4random checks
...
Without this, we actually fail to build a library that includes the
bultin getentropy when compiling for 10.11 on 10.12.
2016-12-10 20:58:04 +01:00
Brent Cook
d2f5ab1ee8
prefer builtin arc4random on OS X 10.12+ (using getentropy as the signal)
2016-11-06 03:12:34 -06:00
jacob berkman
83e9741dc6
Disable netcat if arpa/telnet.h is not available (iOS)
2016-08-09 15:04:45 -07:00
Brent Cook
d4d040c171
add things to minimize diffs with OpenNTPD-portable
2016-02-15 13:39:06 -06:00
Brent Cook
35e669fd1a
whitelist NetBSD 7.0 native arc4random(3) implementation.
...
NetBSD 7 improves arc4random(3) over earlier versions by adding fork
detection, stronger assertions on seed failure.
2016-01-03 21:24:05 -06:00
Brent Cook
d0009039de
enable nc on AIX
2016-01-03 21:20:03 -06:00
Brent Cook
4db1ad6797
installing nc(1) should imply building, even if not whitelisted
2015-12-07 08:24:41 -06:00
Brent Cook
7a82b7c0fd
build nc on solaris and cygwin
2015-11-23 02:07:23 -06:00
Brent Cook
24b5a96a7c
whitelist nc on other BSDs
2015-10-23 16:19:07 -07:00
Brent Cook
a7f031ba55
add b64_ntop checking and fallback for nc(1)
2015-10-01 07:40:26 -05:00
Brent Cook
497a47c5fc
remove incorrect comment
...
We actually want to only start extending CFLAGS after calling AC_PROG_CC
so we get the default autoconf value (usually just -O2).
2015-09-30 08:00:49 -05:00
Brent Cook
8c90be2a29
allow nc to build on linux and os x
2015-09-13 18:42:15 -05:00
Brent Cook
a787f964a1
restrict nc to openbsd builds for now
2015-09-12 10:51:11 -05:00
kinichiro
9aa4e1d960
disable strict aliasing on HP-UX C/aC++ compiler
...
to disable strict aliasing on HP-UX C/aC++, `+Otype_safety=off` is right.
`+Otype_safety=strong` forces ANSI aliasing.
2015-08-04 19:08:42 +09: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
b9291face3
disable strict aliasing on AIX xlc and HP-UX aC++ compilers
2015-07-16 11:34:07 -05:00
Brent Cook
545454277a
add check for inet_pton, nudge minimum win32 compat to 0x0501
2015-07-02 00:19:53 -05:00
Brent Cook
d3771a41cb
refactor configure into separate m4 macros
...
this allows for some reusability with libtls
2015-05-23 19:27:57 -05:00