Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
vboot
fix_Makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_Makefile.patch of Package vboot
--- Makefile.orig 2018-03-02 20:45:50.000000000 +0100 +++ Makefile 2018-03-02 21:52:49.564224600 +0100 @@ -227,12 +227,6 @@ LD = ${CC} CXX ?= g++ PKG_CONFIG ?= pkg-config -# Static? -ifneq (${STATIC},) -LDFLAGS += -static -PKG_CONFIG += --static -endif - # Determine QEMU architecture needed, if any ifeq (${ARCH},${HOST_ARCH}) # Same architecture; no need for QEMU @@ -589,11 +583,11 @@ UTIL_SCRIPTS += \ endif # These utilities should also provide static linked version (*_s). -UTIL_NAMES_STATIC = \ - utility/crossystem +# UTIL_NAMES_STATIC = \ +# utility/crossystem UTIL_NAMES = \ - ${UTIL_NAMES_STATIC} \ + utility/crossystem \ utility/dumpRSAPublicKey \ utility/tpmc @@ -991,7 +985,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ # Link tests for external repos ${BUILD}/host/linktest/extern: ${HOSTLIB} ${BUILD}/host/linktest/extern: LIBS = ${HOSTLIB} -${BUILD}/host/linktest/extern: LDLIBS += -static TEST_OBJS += ${BUILD}/host/linktest/extern.o .PHONY: hostlib @@ -1082,10 +1075,6 @@ ${BUILD}/utility/%: INCLUDES += -Iutilit ${UTIL_BINS} ${UTIL_BINS_STATIC}: ${UTILLIB} ${UTIL_BINS} ${UTIL_BINS_STATIC}: LIBS = ${UTILLIB} -# Utilities for auto-update toolkits must be statically linked. -${UTIL_BINS_STATIC}: LDFLAGS += -static - - .PHONY: utils utils: ${UTIL_BINS} ${UTIL_SCRIPTS} ${Q}cp -f ${UTIL_SCRIPTS} ${BUILD}/utility @@ -1117,7 +1106,7 @@ futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN} ${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS} -lpthread ${FUTIL_STATIC_BIN}: ${FUTIL_STATIC_OBJS} ${UTILLIB} @${PRINTF} " LD $(subst ${BUILD}/,,$@)\n" - ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} -static $^ ${LDLIBS} + ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} $^ ${LDLIBS} ${FUTIL_BIN}: LDLIBS += ${CRYPTO_LIBS} ${FUTIL_BIN}: ${FUTIL_OBJS} ${UTILLIB} ${FWLIB20} ${UTILBDB}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor