Skip to content

Commit

Permalink
Fix compilation on GCC v10 and higher
Browse files Browse the repository at this point in the history
GCC compiler v10 and higher throws exception "Multiple definitions of ... First defined here". He we telling compiler to ignore this error, otherwise the software will not compile.
  • Loading branch information
mickolaua authored Aug 17, 2023
1 parent 63e1260 commit 137abe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ LIBDIR = ../../cfitsio/lib

# standard usage
# recently added -std=c99 after a bug report
COPTS = -funroll-loops -O3 -ansi -std=c99 -pedantic-errors -Wall -I$(CFITSIOINCDIR) -D_GNU_SOURCE
COPTS = -funroll-loops -fcommon -O3 -ansi -std=c99 -pedantic-errors -Wall -I$(CFITSIOINCDIR) -D_GNU_SOURCE
LIBS = -L$(LIBDIR) -lm -lcfitsio

# compiler
Expand Down

0 comments on commit 137abe7

Please sign in to comment.