git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
272cd40
)
Optimizations disabling no longer needed due to explicit STDCALL workaround.
author
short
<>
Tue, 23 Sep 2003 12:33:51 +0000
(12:33 +0000)
committer
short
<>
Tue, 23 Sep 2003 12:33:51 +0000
(12:33 +0000)
captive.spec.in
patch
|
blob
|
history
debian/rules
patch
|
blob
|
history
diff --git
a/captive.spec.in
b/captive.spec.in
index
0a7f0c4
..
586333b
100644
(file)
--- a/
captive.spec.in
+++ b/
captive.spec.in
@@
-113,10
+113,6
@@
NTFS disks will become mount(8)able at directories: /mnt/captive-VOLUME_NAME
%build
# Never disable debug for captive, see FAQ
# "How to check valid input arguments? Invalid processing state assumptions?"
%build
# Never disable debug for captive, see FAQ
# "How to check valid input arguments? Invalid processing state assumptions?"
-# FIXME: Use our own CFLAGS to prevent '-mcpu=i686' which up to gcc-20030214 gcc
-# will ignore stack freeing of attribute((stdcall)) callees in caller functions code.
-# Check at the final call of src/libcaptive/reactos/ntoskrnl/io/irp.c/IofCallDriver().
-CFLAGS="-O2"
%configure \
--enable-shared --disable-static \
--with-readline \
%configure \
--enable-shared --disable-static \
--with-readline \
diff --git
a/debian/rules
b/debian/rules
index
58d0322
..
a1194fa
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-22,6
+22,15
@@
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+OPTFLAGS := -O2
+else
+OPTFLAGS := -O0
+endif
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@
-35,12
+44,9
@@
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
INSTALL_PROGRAM += -s
endif
-# FIXME: Use our own CFLAGS to prevent '-mcpu=i686' which up to gcc-20030214 gcc
-# will ignore stack freeing of attribute((stdcall)) callees in caller functions code.
-# Check at the final call of src/libcaptive/reactos/ntoskrnl/io/irp.c/IofCallDriver().
config.status: configure
dh_testdir
config.status: configure
dh_testdir
-
CFLAGS="-O2"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-shared --disable-static \
--with-readline \
--disable-bug-replay \
--enable-shared --disable-static \
--with-readline \
--disable-bug-replay \