- Open all fds with O_CLOEXEC - Use gcc visibility, symbol table shrinks around 50% ... OBS-URL: https://build.opensuse.org/request/show/93381 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lcms2?expand=0&rev=48
17 lines
394 B
Diff
17 lines
394 B
Diff
--- src/lcms2_internal.h.orig
|
|
+++ src/lcms2_internal.h
|
|
@@ -37,6 +37,7 @@
|
|
// assert macro is part of C99 as per 7.2
|
|
#include <assert.h>
|
|
|
|
+#pragma GCC visibility push(hidden)
|
|
// Some needed constants
|
|
#ifndef M_PI
|
|
# define M_PI 3.14159265358979323846
|
|
@@ -625,4 +626,5 @@ cmsBool _cmsBuildRGB2XYZtransferMatrix
|
|
|
|
|
|
#define _lcms_internal_H
|
|
+#pragma GCC visibility pop
|
|
#endif
|