Skip to contentSkip to conversation

RFC: space between -isystem and parameter

DISCUSSION Robert Schuster 1 participant 1 message Jul 11, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
the gcc man page says that there should be a space between the -isystem option and the parameter. Is there a specific reason why we are not doing this in OpenEmbedded?

If it is not causing any problems I would like to change this (see patch, is there more to change?) since I people pointed this out when I posted a OE-made make output to the libtool mailing list.

Regards
Robert

#

# old_revision [c3c2fc52f60e174bdf9d1f52c795dc0bdcfb0958]
#
# patch "conf/bitbake.conf"
#  from [d8122151bbc194ee830cb666879ae90585f1b985]
#    to [e113fc3577094afd81f647bfe6068c6dc26b38c9]
#
============================================================
--- conf/bitbake.conf	d8122151bbc194ee830cb666879ae90585f1b985
+++ conf/bitbake.conf	e113fc3577094afd81f647bfe6068c6dc26b38c9
@@ -355,9 +355,9 @@ PATCHRESOLVE = 'noop'
 # Build flags and options.
 ##################################################################

-export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" +export BUILD_CPPFLAGS = "-isystem ${STAGING_INCDIR_NATIVE}"
export CPPFLAGS = "${TARGET_CPPFLAGS}"
-export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${layout_includedir}" +export TARGET_CPPFLAGS = "-isystem ${STAGING_DIR_TARGET}${layout_includedir}"

export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" export CFLAGS = "${TARGET_CFLAGS}"