refactor: clean up Makefiles
This commit is contained in:
parent
fb4a9a3b2e
commit
0229db027d
6 changed files with 51 additions and 49 deletions
|
|
@ -18,8 +18,9 @@ RUN curl -Lo - "https://github.com/Yelp/dumb-init/archive/refs/tags/v${DI_VER}.t
|
|||
|
||||
COPY . ./
|
||||
|
||||
RUN make CFLAGS='-O3 -static' LDFLAGS='-flto' && \
|
||||
RUN make CFLAGS='-O3' LDFLAGS='-static -flto' && \
|
||||
strip build/lander && \
|
||||
readelf -d build/lander && \
|
||||
[ "$(readelf -d build/lander | grep NEEDED | wc -l)" = 0 ]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue