mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
47b43030bc
Summary: It's "Unnamed unions", a C11 feature. Although it improves the code readability a bit, gcc 4.4 does not have a complete for it. Since we have to support gcc 4.4 now, use plain `struct` instead. Test Plan: Run `cd linelog && make local` using gcc 4.4 Reviewers: #mercurial, ttung, rmcelroy Reviewed By: rmcelroy Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3699216 Signature: t1:3699216:1470862720:85ee1c4f8c63805aeffca1048ff330b91a096222
12 lines
208 B
Makefile
12 lines
208 B
Makefile
.PHONY: all clean
|
|
|
|
CFLAGS ?= -std=c99 -O2 -Wall -Wextra -Wconversion -pedantic -g
|
|
|
|
all: linelogcli
|
|
|
|
linelogcli: linelogcli.c linelog.c linelog.h
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
|
|
|
|
clean:
|
|
rm -f linelogcli
|