summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-05-03 23:09:23 +0200
committerAlejandro Colomar <colomar.6.4.3@gmail.com>2020-05-03 23:09:23 +0200
commit9065fe515b80560295afc39287038fffef3f7c18 (patch)
tree4428cd8038681d697adc729a467643879f06df51
parentbec8ae2492968cb0b1a8fa134f7b3fe5016fc348 (diff)
Use same gcc version as in libalx
-rw-r--r--rob/Dockerfile1
-rw-r--r--rob/Makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/rob/Dockerfile b/rob/Dockerfile
index a7d14ea..9b76405 100644
--- a/rob/Dockerfile
+++ b/rob/Dockerfile
@@ -10,7 +10,6 @@ RUN apt-get update && \
apt-get upgrade -V --yes && \
apt-get install -V \
gcc \
- gcc-10 \
make \
git \
pkg-config \
diff --git a/rob/Makefile b/rob/Makefile
index 6935b4b..81ebb5e 100644
--- a/rob/Makefile
+++ b/rob/Makefile
@@ -7,7 +7,7 @@ CFLAGS = $(CFLAGS_W) $(CFLAGS_O)
all: rob
rob: rob.c
- gcc-10 $(CFLAGS) \
+ gcc $(CFLAGS) \
`pkg-config --static --cflags libalx-base` \
`pkg-config --static --cflags libalx-telnet-tcp`\
`pkg-config --static --cflags libalx-robot` \