1
#! /bin/sh /usr/share/dpatch/dpatch-run
3
## ruby-no-strict-aliasing by <peter@p12n.org>
5
## DP: Compile ruby bindings with -fno-strict-aliasing.
6
## DP: It seems swig is generating _really_ bad code here, or something.
8
## DP: Whatever it is, this line suppresses 1323 warnings, any of which might
9
## DP: be real bugs with real consequences.
15
SWIG_PY_LIBS = @SWIG_PY_LIBS@
16
SWIG_PL_INCLUDES = @SWIG_PL_INCLUDES@
17
SWIG_RB_INCLUDES = @SWIG_RB_INCLUDES@ -I$(SWIG_SRC_DIR)/ruby/libsvn_swig_ruby
18
-SWIG_RB_COMPILE = @SWIG_RB_COMPILE@
19
+SWIG_RB_COMPILE = @SWIG_RB_COMPILE@ -fno-strict-aliasing
20
SWIG_RB_LINK = @SWIG_RB_LINK@
21
SWIG_RB_SITE_LIB_DIR = @SWIG_RB_SITE_LIB_DIR@
22
SWIG_RB_SITE_ARCH_DIR = @SWIG_RB_SITE_ARCH_DIR@