forked from pool/jitterentropy
* Correct time stamp processing on AIX * Use high-resolution time stamp on Apple Silicon * GCD power-up test: consider OSR * Remove patches fixed in the update: - jitterentropy-fix-a-stack-corruption-on-s390x.patch * Rebase patches: - jitterentropy-split-internal-header.patch - jitterentropy-with-debug.patch - Update to 3.6.2: * Fix RCT re-initialization in jent_read_entropy_safe * simplify test code * improve keyword portability - Update to 3.6.1: * Add more test code * Add support for SunPRO compiler * Fix compilation on OpenBSD by replacing sed with tr * internal timer: Add support for Apple * Various small fixes to compilation to imporve portability - Update to 3.6.0: * Remove bi-modal behavior of conditioning function * Make jent_read_entropy_safe safer by retrying the health test * Move the version information to make them available at compile time - Update to 3.5.0: * add distinction between intermittent and permanent health failure * add compile time option to allow configuring a mask to reduce the size of the time stamp used for the APT OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jitterentropy?expand=0&rev=19
25 lines
942 B
Diff
25 lines
942 B
Diff
Index: jitterentropy-library-3.6.3/Makefile
|
|
===================================================================
|
|
--- jitterentropy-library-3.6.3.orig/Makefile
|
|
+++ jitterentropy-library-3.6.3/Makefile
|
|
@@ -4,8 +4,8 @@ CC ?= gcc
|
|
#Hardening
|
|
ENABLE_STACK_PROTECTOR ?= 1
|
|
CFLAGS ?= -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -fPIE -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum
|
|
-CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv -Wconversion
|
|
-LDFLAGS +=-Wl,-z,relro,-z,now -lpthread
|
|
+CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv -Wconversion -g
|
|
+LDFLAGS +=-Wl,-z,relro,-z,now -lpthread -g
|
|
|
|
# Enable internal timer support
|
|
CFLAGS += -DJENT_CONF_ENABLE_INTERNAL_TIMER
|
|
@@ -35,7 +35,7 @@ LIBDIR := lib
|
|
INCDIR := include
|
|
SRCDIR := src
|
|
|
|
-INSTALL_STRIP ?= install -s
|
|
+INSTALL_STRIP ?= install
|
|
|
|
NAME := jitterentropy
|
|
LIBMAJOR=$(shell cat jitterentropy.h | egrep "define\s+JENT_MAJVERSION" | awk '{print $$3}')
|