Skip to content

Commit d1ae4f2

Browse files
committed
Added opt_debug config scripts.
1 parent 8d4421a commit d1ae4f2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

reconfig_opt_debug_cxx11.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
export CPPFLAGS+=' -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -std=c++11'
4+
export CXXFLAGS+=' -O3 -g'
5+
6+
mkdir -p m4
7+
autoreconf -if
8+
./configure --enable-shared --disable-static --prefix=/usr

reconfig_opt_debug_cxx98.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
export CPPFLAGS+=' -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -std=c++98'
4+
export CXXFLAGS+=' -O3 -g'
5+
6+
mkdir -p m4
7+
autoreconf -if
8+
./configure --enable-shared --disable-static --prefix=/usr

0 commit comments

Comments
 (0)