Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Also rebuild configure.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Speeds up GitLab builds by 1 minute
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
Note:
It will be enabled by default if configure detects that the system has support for epoll
To enforce usage of select run configure with --enable-epoll=no
|
|
- You should not run Hercules as root, period.
- If you understand all of the security implications, and still want to
do so (and you don't want to be bothered by the warning messages),
open core.c and uncomment the line:
"//#define I_AM_AWARE_OF_THE_RISK_AND_STILL_WANT_TO_RUN_HERCULES_AS_ROOT"
- If you're running Hercules as root because your provider forces (or
encourages) you to do so, it means they're really doing it wrong, so
please complain to them and ask them for an alternative.
- More info on the topic:
http://www.tldp.org/HOWTO/Security-HOWTO/local-security.html
https://wiki.debian.org/sudo
http://wiki.centos.org/TipsAndTricks/BecomingRoot
http://fedoraproject.org/wiki/Configuring_Sudo
https://help.ubuntu.com/community/RootSudo
http://www.freebsdwiki.net/index.php/Root
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It's not always possible (if at all) to pass -Werror in the CFLAGS,
since autoconf often generates test-code that produces warnings.
Example/reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734104
Signed-off-by: Haru <haru@dotalux.com>
|
|
The errors affected the script output when passing an invalid value to
various --enble-xxx=yyy options.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixed a -Wshorten-64-to-32 warning in case there's no thread-local-storage available
- Disabled -Wcast-align for the time being
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
Also add compiler flag for check for missing noreturn attributes.
|
|
|
|
Add all missing -Wformat flags into configure.
|
|
Add -Wcast-qual into configure comment.
|
|
Now it's handled like all other libraries, and no longer adds an
useless -I/usr/include option
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This fixes PCRE search failures on FreeBSD and on OS X with Homebrew
- Thanks to ultramage
Signed-off-by: Haru <haru@dotalux.com>
|
|
It prevent for show funcstion names in stack in asserts.
|
|
|
|
|
|
|
|
- Follow-up to 300668d, thanks to AnnieRuru
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixes an issue preventing to compile on non-ELF systems (i.e. OS X)
using recent gcc versions (such as 5.2) that are unable to filter out
this option where it's not needed.
- Thanks to Smokexyz for reporting the issue.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Improved compatibility, portability and standards conformance.
- Since it is not possible to portably and reliably re-use the core's
symbols in plugins, symbols are no longer exported unless explicitly
required, in the UNIX builds. This mimics the Windows behavior and
adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas
for making this possible.
- For convenience, it is no longer necessary to call GET_SYMBOL, since
the plugin will automatically import all the available symbols when
it's loaded, depending on the included headers.
- Plugins are now supposed to include the "common/hercules.h" header
before including anything else. Incluing common/HPMi.h,
common/cbasetypes.h or conf/core.h is no longer necessary, as those
are guaranteed to be automatically included by hercules.h.
- HPM API version bumped to 1.1.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This fixes plugin compilation on FreeBSD and Debian failing due to a
missing -fPIC, in combination with some upcoming changes.
Signed-off-by: Haru <haru@dotalux.com>
|
|
and higher.
For enable LTO need run: ./configure --enable-lto
|
|
- This fixes compilation on systems such as FreeBSD, where -lexecinfo
is necessary, or Cygwin, where execinfo.h is not available.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Also enable in configure linker flag -rdynamic.
|
|
Fix small typo.
|
|
This will allow fine-grained detection of the sanitizer options
supported by the current compiler.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
If set check_occupied_cells to 0 it will allow walk to occupied cells
And it heavy reduce CPU usage on walking.
|
|
It was blocked in configure.
|
|
This flag hide some usefull warnings.
|