R4SAS
62cd9fffa3
Automate AES-NI and AVX detection on runtime, make it default on x86-based systems ( #1578 )
...
Rework CPU extensions detection code and build with AES-NI and AVX support by default
4 years ago
orignal
335f9394a5
drop gcc 4.7 support
4 years ago
orignal
1e4d2fd053
fixed for g++10
5 years ago
R4SAS
716378bd6b
[makefile] fix build with g++ 10
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
d503f07564
suppress GCC 7 (bug 77728) psabi note
...
Suppresses messages like that:
note: parameter passing for argument of type <...> will change in GCC 7.1
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal
b02c9fb118
enable C++17 for gcc
5 years ago
R4SAS
ed116e7cea
add gcc 9 support
6 years ago
orignal
b734acf1b1
-latomic for gcc >= 5 only
6 years ago
redfish
0df5b77595
makefile: linux: add -latomic
...
Tested on Arch Linux and Debian unstable with gcc 8.2.0. On Arch Linux
on x86_64 it built without this, but also builds with this. Without this
patch On Debian unstable on PPC linking fail with undefined symbols:
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
6 years ago
R4SAS
55af4ed385
delete old AESNI definition
7 years ago
R4SAS
64aee9c8ae
add DEBUG option for make
...
By default, binary will be built without stripping debug symbols
7 years ago
yangfl
dec848f072
use builtin __AVX__ and __AES__ macros and reduce code duplication
7 years ago
orignal
510d29b381
gcc 8 arch support
7 years ago
Arm64 plaz
66de7ad049
for first time disable aesenc for arm64
7 years ago
orignal
b486d1cd27
rollback
...
non buildable under x64
7 years ago
yangfl
46f62e1af9
remove trailing whitespaces
7 years ago
yangfl
9cc4e8d03a
Makefile: get target platform from compiler
7 years ago
Jeff Becker
3330bf4f2f
fix gcc 7 on ubuntu
7 years ago
R4SAS
4bc1143418
update makefile to use gcc 7 on archlinux
8 years ago
R4SAS
19fc59739f
update makefile-s
8 years ago
Jeff Becker
9b62f238ed
add option for client tunnels to build tunnels such that OBEP==IBGW
8 years ago
orignal
9aa9a62ed4
AESNI for x86
8 years ago
Jeff Becker
76fd1c5c58
udp sockets for sam
8 years ago
R4SAS
f69884d573
AVX disabled for debuild by patch
8 years ago
orignal
e08a26d015
AVX instructions support
8 years ago
MXPLRS | Kirill
06b0a50462
static libminiupnpc
8 years ago
l-n-s
578083df3e
Add libdl (-ldl) flag. Fixes openssl errors when building statically.
8 years ago
hagen
9368a93279
* fgrep can't be used with regex
8 years ago
Jeff Becker
abaf36a2de
try unbreaking static build
8 years ago
hagen
f99aea5cb1
* Makefile.linux : use linker flags instead full paths to obj files ( #602 )
8 years ago
Jeff Becker
9215a54c23
revert
9 years ago
hagen
b668c4c302
* add global switch USE_UPNP to makefile
9 years ago
Jeff Becker
5c6ec70126
fix static build for rpi linux
9 years ago
orignal
fedbf2cc44
link UPnP with app if USE_UPNP is set
9 years ago
Jeff Becker
e868d427dd
add options to not use ntcp or ssu
9 years ago
hagen
ca2e148ad7
* enable -Wextra for linux builds
9 years ago
hagen
5c9a69e0e8
* drop boost_regex from build deps
9 years ago
orignal
aa5ea0e3a1
support gcc 6
9 years ago
hagen
f84ac18472
* set defaults to *FLAGS instead redefining them
9 years ago
hagen
d4d1768575
* Makefile.* : fix build with gcc 4.7.2 ( #299 )
9 years ago
orignal
62cf83921b
cumulative update from bitbucket
9 years ago
hagen
846128a791
* add gcc5 to supported compilers
10 years ago
Timofey Titovets
214eb0caa5
Not overwrite -fPIC with CXXFLAGS
10 years ago
Mikal Villa
7acdc0a606
Libminiupnpc library support (v1.5 and v1.6), dynamic runtime linking.
10 years ago
Kill Your TV
e5c2022f71
Fix building in kFreeBSD
...
broken in 8c218bd5
10 years ago
Kill Your TV
b343c24a9f
add explanatory comments to Makefiles
10 years ago
Kill Your TV
21e3778e69
Revert the 'clean-up' commits so that custom build-time flags can be set
...
These commits removed the 'NEEDED*' vars which were added so that CXX*
and LDFLAGS could be specified at build time. By doing away with these
and using solely CXXFLAGS and LDFLAGS, special flags cannot be added.
Indeed, specifying your own CXXFLAGS would cause the build to fail. We
want the build flags to be APPENDED, not overwritten.
10 years ago
orignal
219abaa7e1
don't use AESNI if not supported
10 years ago
orignal
d6fe4556fb
don't make executable as shared
10 years ago
hagen
cf8e229098
* almost fixed static linking
10 years ago