Commit Graph

70 Commits

Author SHA1 Message Date
b02c9fb118 enable C++17 for gcc 2020-02-28 14:03:08 -05:00
ed116e7cea add gcc 9 support 2019-03-30 13:05:32 +03:00
b734acf1b1 -latomic for gcc >= 5 only 2018-09-06 11:19:10 -04:00
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'
2018-08-17 23:24:37 -04:00
55af4ed385 delete old AESNI definition 2018-06-29 02:30:03 +03:00
64aee9c8ae add DEBUG option for make
By default, binary will be built without stripping debug symbols
2018-06-29 02:27:19 +03:00
dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 2018-06-27 17:32:38 +08:00
510d29b381 gcc 8 arch support 2018-06-23 06:56:05 -04:00
66de7ad049 for first time disable aesenc for arm64 2018-04-24 18:23:40 +00:00
b486d1cd27 rollback
non buildable under x64
2018-01-20 12:07:57 -05:00
46f62e1af9 remove trailing whitespaces 2018-01-06 22:24:03 +08:00
9cc4e8d03a Makefile: get target platform from compiler 2018-01-06 22:06:28 +08:00
3330bf4f2f fix gcc 7 on ubuntu 2017-11-04 07:53:24 -04:00
4bc1143418 update makefile to use gcc 7 on archlinux 2017-06-23 13:02:31 +03:00
19fc59739f update makefile-s 2017-04-22 04:17:01 +03:00
9b62f238ed add option for client tunnels to build tunnels such that OBEP==IBGW 2017-04-08 15:10:06 -04:00
9aa9a62ed4 AESNI for x86 2017-03-25 08:16:56 -04:00
76fd1c5c58 udp sockets for sam 2017-01-31 11:06:45 -05:00
f69884d573 AVX disabled for debuild by patch 2016-12-18 16:27:14 +03:00
e08a26d015 AVX instructions support 2016-12-08 12:59:19 -05:00
06b0a50462 static libminiupnpc 2016-12-01 20:17:28 +03:00
578083df3e Add libdl (-ldl) flag. Fixes openssl errors when building statically. 2016-10-28 13:18:35 -04:00
9368a93279 * fgrep can't be used with regex 2016-10-26 00:41:48 +00:00
abaf36a2de try unbreaking static build 2016-08-27 09:29:18 -04:00
f99aea5cb1 * Makefile.linux : use linker flags instead full paths to obj files (#602) 2016-08-21 13:49:08 +00:00
b668c4c302 * add global switch USE_UPNP to makefile 2016-06-27 13:12:01 +00:00
5c6ec70126 fix static build for rpi linux 2016-06-26 11:17:05 -04:00
fedbf2cc44 link UPnP with app if USE_UPNP is set 2016-06-24 13:15:51 -04:00
ca2e148ad7 * enable -Wextra for linux builds 2016-06-01 00:14:34 +00:00
5c9a69e0e8 * drop boost_regex from build deps 2016-05-27 01:32:03 +00:00
aa5ea0e3a1 support gcc 6 2016-05-11 11:57:02 -04:00
f84ac18472 * set defaults to *FLAGS instead redefining them 2015-11-27 14:01:15 +00:00
d4d1768575 * Makefile.* : fix build with gcc 4.7.2 (#299) 2015-11-27 11:42:44 +00:00
62cf83921b cumulative update from bitbucket 2015-11-03 09:15:49 -05:00
846128a791 * add gcc5 to supported compilers 2015-05-07 03:40:19 +00:00
214eb0caa5 Not overwrite -fPIC with CXXFLAGS 2015-01-13 15:14:52 +03:00
7acdc0a606 Libminiupnpc library support (v1.5 and v1.6), dynamic runtime linking. 2015-01-03 21:38:48 +01:00
e5c2022f71 Fix building in kFreeBSD
broken in 8c218bd5
2014-12-20 16:57:41 +00:00
b343c24a9f add explanatory comments to Makefiles 2014-12-20 16:57:41 +00:00
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.
2014-12-20 16:57:41 +00:00
219abaa7e1 don't use AESNI if not supported 2014-12-15 16:15:06 -05:00
d6fe4556fb don't make executable as shared 2014-12-13 14:45:44 -05:00
cf8e229098 * almost fixed static linking 2014-12-13 13:21:24 +00:00
05a62af99b * move USE_* to main Makefile 2014-12-13 13:21:24 +00:00
56c404e6c1 * Makefile.linux : use idents with spaces 2014-12-13 13:21:24 +00:00
5ee4969322 * Makefile.linux : reorder checks 2014-12-13 13:21:24 +00:00
aa0cb6b2c4 * (3/3) cleanup : unused variable 2014-12-13 13:21:24 +00:00
d6ec412422 * (2/3) cleanup : use $CXXFLAGS instead $NEEDED_FLAGS 2014-12-13 13:21:24 +00:00
4e94bc9efc * (1/3) cleanup : use $CXXFLAGS instead $CPU_FLAGS 2014-12-13 13:21:24 +00:00
8c218bd5df * (1/3) update filelist.mk : 3 lists of sources: common, daemon-specific and library-specific 2014-12-13 13:21:24 +00:00