YASH BHIWANIA commented on a discussion on rtems/config/devel/safeclib-3.9.1-1.cfg: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/269#note_153767 > + BSP_LIBS=$(pkg-config --libs ${PKG_NAME}) > + > + ./configure \ > + --host=%{_host} \ > + --prefix=%{_prefix} \ > + --disable-shared \ > + --enable-static \ > + --disable-extensions \ > + --disable-doc \ > + CFLAGS="${BSP_CFLAGS}" \ > + LDFLAGS="${BSP_LIBS} -lrtemsdefaultconfig" \ > + CC="%{_host}-gcc" > + > + # HACK: Erase 'tests' from the Makefile's target directories > + # This safely bypasses the syslog linker error without skipping headers > + sed -i 's/ tests//g' Makefile @chris how about dropping the -i flag entirely and instead, we use standard redirection like : we tell sed to output the fixed text into a temporary file, and then we overwrite the original file? -- View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/269#note_153767 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-eqn2cy6q2ear77xjynbx7ghkl-e/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
