From 246585c22e65ba4dccc7b96274d197e235e0e75c Mon Sep 17 00:00:00 2001
From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
Date: Thu, 24 Apr 2014 15:38:00 -0400
Subject: [PATCH] launchpad: enclose only CFLAGS values in quotes

Build was still failing on a command not found as it tries to execute CFLAGS as a command.

Refs #44894

Change-Id: I67aaff5d11280125bac439f3afefae78c7b55684
---
 tools/build-system/launchpad/sflphone-common-video/debian/rules | 2 +-
 tools/build-system/launchpad/sflphone-common/debian/rules       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/build-system/launchpad/sflphone-common-video/debian/rules b/tools/build-system/launchpad/sflphone-common-video/debian/rules
index c827baa8d7..7e4e7ae46f 100755
--- a/tools/build-system/launchpad/sflphone-common-video/debian/rules
+++ b/tools/build-system/launchpad/sflphone-common-video/debian/rules
@@ -38,7 +38,7 @@ configure-stamp:
 	# Add here commands to configure the package.
 	./autogen.sh
 	./configure --prefix=/usr --enable-video
-	cd libs/pjproject-2.2.1; "CFLAGS=-fPIC -O2 -DNDEBUG" ./configure $(PJ_CONFIG_OPTIONS)
+	cd libs/pjproject-2.2.1; CFLAGS="-fPIC -O2 -DNDEBUG" ./configure $(PJ_CONFIG_OPTIONS)
 	touch configure-stamp
 
 #Architecture
diff --git a/tools/build-system/launchpad/sflphone-common/debian/rules b/tools/build-system/launchpad/sflphone-common/debian/rules
index 08a56ca76b..823bf4388e 100755
--- a/tools/build-system/launchpad/sflphone-common/debian/rules
+++ b/tools/build-system/launchpad/sflphone-common/debian/rules
@@ -38,7 +38,7 @@ configure-stamp:
 	# Add here commands to configure the package.
 	./autogen.sh
 	./configure --prefix=/usr
-	cd libs/pjproject-2.2.1; "CFLAGS=-fPIC -O2 -DNDEBUG" ./configure $(PJ_CONFIG_OPTIONS)
+	cd libs/pjproject-2.2.1; CFLAGS="-fPIC -O2 -DNDEBUG" ./configure $(PJ_CONFIG_OPTIONS)
 	touch configure-stamp
 
 #Architecture
-- 
GitLab