mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
AIX: Don't specify -qlanglvl=stdc99 for libuafs
Commit beff42414ae (aix-5-update-20041207) added -qlanglvl=stdc99 to our CFLAGS for libuafs, apparently to handle __file__ (or __FILE__) in afs_osi_pag.c. The clang-based xlc 17.1 on AIX does not understand this argument, which causes an error: CC .../src/libuafs/afs_osi_pag.lo .ibm-clang: error: unknown argument: '-qlanglvl=stdc99' afs_osi_pag.c doesn't directly use __FILE__. Various other files in src/afs indirectly reference __FILE__, so this probably is not needed at all anymore. Just remove it. Change-Id: Iae33a80dd96aef94e3be2f97590e40ffa1c6ba29 Reviewed-on: https://gerrit.openafs.org/15447 Reviewed-by: Cheyenne Wills <cwills@sinenomine.net> Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Tested-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
9c4ce09091
commit
895d82bae8
@ -30,7 +30,4 @@ AFS_OS_CLEAN = \
|
|||||||
*.exp \
|
*.exp \
|
||||||
export.h
|
export.h
|
||||||
|
|
||||||
# To get __file__ you need to specify the language level C99 to xlc_r
|
|
||||||
CFLAGS_afs_osi_pag.lo=-qlanglvl=stdc99
|
|
||||||
|
|
||||||
include Makefile.common
|
include Makefile.common
|
||||||
|
Loading…
x
Reference in New Issue
Block a user