Skip to content

Commit

Permalink
Updated ppc compiler flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ad committed Feb 8, 2018
1 parent e9b572b commit eb7be0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions challenges/ppc32-simple-fmt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ RUN chmod 755 /start.sh

# Compile binary and remove source code
COPY src/fmt.c .
RUN powerpc-linux-gnu-gcc-4.8 -Wno-format-security -o /pwnable fmt.c -static
RUN strip /pwnable
RUN powerpc-linux-gnu-gcc-4.8 -Wno-format-security -s -o /pwnable fmt.c -static
RUN rm -rf fmt.c

RUN useradd -m bob
Expand Down

0 comments on commit eb7be0d

Please sign in to comment.