Remove compilers from phosphor-webui recipe
They were only required for building libsass, which has been rightly
deprecated, and is no longer required as of:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-webui/+/35709
This commit will require the above before it will build.
Tested:
bitbake phosphor-webui built correctly when used with the above review.
Given after that review this functionality is no longer used, there is
realistically nothing to test.
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: I4578cd6906c5bfe3f32e471667c6d3d0786283bb
diff --git a/recipes-phosphor/webui/phosphor-webui_git.bb b/recipes-phosphor/webui/phosphor-webui_git.bb
index 50fedf0..43a32c3 100644
--- a/recipes-phosphor/webui/phosphor-webui_git.bb
+++ b/recipes-phosphor/webui/phosphor-webui_git.bb
@@ -11,23 +11,8 @@
DEPENDS_prepend = "nodejs-native "
-# allarch is required because the files this recipe produces (html and
-# javascript) are valid for any target, regardless of architecture. The allarch
-# class removes your compiler definitions, as it assumes that anything that
-# requires a compiler is platform specific. Unfortunately, one of the build
-# tools uses libsass for compiling the css templates, and it needs a compiler to
-# build the library that it then uses to compress the scss into normal css.
-# Enabling allarch, then re-adding the compiler flags was the best of the bad
-# options
-
inherit allarch
-export CXX = "${BUILD_CXX}"
-export CC = "${BUILD_CC}"
-export CFLAGS = "${BUILD_CFLAGS}"
-export CPPFLAGS = "${BUILD_CPPFLAGS}"
-export CXXFLAGS = "${BUILD_CXXFLAGS}"
-
FILES_${PN} += "${datadir}/www/*"
do_compile () {