Browse Source

Undo modern C standard target because Ubuntu. Fixes #64

Fredrik Svantesson 6 years ago
parent
commit
9d8ca6be3c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Makefile.am

+ 1
- 1
src/Makefile.am View File

1
 bin_PROGRAMS   = light
1
 bin_PROGRAMS   = light
2
 light_SOURCES  = main.c light.c light.h helpers.c helpers.h impl/sysfs.c impl/sysfs.h impl/util.h impl/util.c impl/razer.h impl/razer.c
2
 light_SOURCES  = main.c light.c light.h helpers.c helpers.h impl/sysfs.c impl/sysfs.h impl/util.h impl/util.c impl/razer.h impl/razer.c
3
 light_CPPFLAGS = -I../include -D_GNU_SOURCE
3
 light_CPPFLAGS = -I../include -D_GNU_SOURCE
4
-light_CFLAGS   = -W -Wall -Wextra -std=gnu18 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter
4
+light_CFLAGS   = -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter
5
 
5
 
6
 if CLASSIC
6
 if CLASSIC
7
 install-exec-hook:
7
 install-exec-hook: