blob: 8818087aa773d9e751013aba027bf97c5bf5acde (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
--- configure.orig 2023-04-13 18:15:33 UTC
+++ configure
@@ -2139,8 +2139,8 @@ MYPCFILES="kyotocabinet.pc"
MYPCFILES="kyotocabinet.pc"
# Building flags
-MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -g0 -O2"
-MYCXXFLAGS="-Wall -fPIC -fsigned-char -g0 -O2"
+MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char"
+MYCXXFLAGS="-Wall -fPIC -fsigned-char"
MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I/usr/local/include"
MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1"
MYCPPFLAGS="$MYCPPFLAGS -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__"
@@ -4007,10 +4007,10 @@ printf 'checking for 64-bit availability... '
# System-depending optimization
printf 'checking for 64-bit availability... '
-if printf 'int main(void) {return 0;}' | $CC -xc -m64 -o config.tmp - >config.tmp 2>&1
+if printf 'int main(void) {return 0;}' | $CC -xc -o config.tmp - >config.tmp 2>&1
then
- MYCFLAGS="-m64 $MYCFLAGS"
- MYCXXFLAGS="-m64 $MYCXXFLAGS"
+ MYCFLAGS="$MYCFLAGS"
+ MYCXXFLAGS="$MYCXXFLAGS"
printf 'yes\n'
else
printf 'no\n'
@@ -4018,10 +4018,10 @@ then
if test "$enable_opt" != "no"
then
printf 'checking for CPU optimization availability... '
- if printf 'int main(void) {return 0;}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1
+ if printf 'int main(void) {return 0;}' | $CC -xc -o config.tmp - >config.tmp 2>&1
then
- MYCFLAGS="-march=native $MYCFLAGS"
- MYCXXFLAGS="-march=native $MYCXXFLAGS"
+ MYCFLAGS="$MYCFLAGS"
+ MYCXXFLAGS="$MYCXXFLAGS"
printf 'yes\n'
else
printf 'no\n'
@@ -4231,7 +4231,7 @@ else
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lstdc++ $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -4260,7 +4260,7 @@ _ACEOF
#define HAVE_LIBSTDC__ 1
_ACEOF
- LIBS="-lstdc++ $LIBS"
+ LIBS="$LIBS"
fi
|