mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
fix building when CPP is set in build env
This commit is contained in:
parent
31d9d6d296
commit
fd6cc8b1b2
14
package/ed/ed-configure-CPP.patch
Normal file
14
package/ed/ed-configure-CPP.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
this old configure script has broken CPP logic is CPP is set in the
|
||||||
|
host environment
|
||||||
|
|
||||||
|
--- ed-0.2/configure
|
||||||
|
+++ ed-0.2/configure
|
||||||
|
@@ -731,6 +731,8 @@
|
||||||
|
rm -f conftest*
|
||||||
|
ac_cv_prog_CPP="$CPP"
|
||||||
|
fi
|
||||||
|
+else
|
||||||
|
+ ac_cv_prog_CPP="$CPP"
|
||||||
|
fi
|
||||||
|
CPP="$ac_cv_prog_CPP"
|
||||||
|
echo "$ac_t""$CPP" 1>&4
|
@ -19,9 +19,11 @@ $(DL_DIR)/$(ED_PATCH):
|
|||||||
|
|
||||||
ed-source: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
|
ed-source: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
|
||||||
|
|
||||||
|
ed-unpacked: $(ED_DIR)/.unpacked
|
||||||
$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
|
$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
|
||||||
$(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(ED_DIR) $(DL_DIR) $(ED_PATCH)
|
toolchain/patch-kernel.sh $(ED_DIR) $(DL_DIR) $(ED_PATCH)
|
||||||
|
toolchain/patch-kernel.sh $(ED_DIR) package/ed/ ed-*.patch
|
||||||
touch $(ED_DIR)/.unpacked
|
touch $(ED_DIR)/.unpacked
|
||||||
|
|
||||||
$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
|
$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user