Skip to content

Commit

Permalink
Removed patch 05-disable-iscsiuio.patch to enable iscsiuio build.
Browse files Browse the repository at this point in the history
Added patch 08_fPIC.patch to allow iscsiuio to successfully build.
  • Loading branch information
frank-fegert committed Jul 21, 2016
1 parent df150d9 commit 32c96e6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
14 changes: 0 additions & 14 deletions debian/patches/05-disable-iscsiuio.patch

This file was deleted.

13 changes: 13 additions & 0 deletions debian/patches/08_fPIC.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Added "-fPIC" to CFLAGS in order to allow iscsiuio to build successfully

--- a/iscsiuio/configure.ac
+++ b/iscsiuio/configure.ac
@@ -52,7 +52,7 @@
# libtool stuff
AC_PROG_LIBTOOL

-CFLAGS="-O2 -Wall"
+CFLAGS="-O2 -Wall -fPIC"
## check for --enable-debug first before checking CFLAGS before
## so that we don't mix -O and -g
AC_ARG_ENABLE(debug,
2 changes: 1 addition & 1 deletion debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
02_make-iscsistart-a-dynamic-binary.patch
03_respect-build-flags.patch
04_fix_iscsi_path.patch
05-disable-iscsiuio.patch
06_var-lock_var-run_transition
07_makefile_reproducibility_issues.patch
08_fPIC.patch

0 comments on commit 32c96e6

Please sign in to comment.