Skip to content

Commit

Permalink
Updated build for llvmtools' libexecinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
dslm4515 committed Jun 26, 2021
1 parent 00b6a0d commit 169ee3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions 2-llvmtools/05-libexecinfo
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ patch -Np1 -i ../patches/libexecinfo-alpine/10-execinfo.patch
patch -Np1 -i ../patches/libexecinfo-alpine/20-define-gnu-source.patch
patch -Np1 -i ../patches/libexecinfo-alpine/30-linux-makefile.patch

# Modify Makefile to use clang and llvm-ar

CFLAGS=" -fno-omit-frame-pointer" make
CC=clang CXX=clang++ CFLAGS=" -fno-omit-frame-pointer" make

install -D -m755 -v execinfo.h /llvmtools/include/execinfo.h && \
install -D -m755 -v stacktraverse.h /llvmtools/include/stacktraverse.h && \
Expand Down

0 comments on commit 169ee3c

Please sign in to comment.