Skip to content

Commit

Permalink
build: remove unnecessary pragmas
Browse files Browse the repository at this point in the history
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5629055
  • Loading branch information
ality authored and rsc committed Feb 6, 2012
1 parent 39611ec commit 7ac0369
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions include/plan9/libc.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ enum
Runemax = 0x10FFFF, /* maximum rune value */
};

#pragma src "/sys/src/go/src/lib9"
#pragma lib "/sys/src/go/lib/$M/lib9.a"

char* getgoos(void);
char* getgoarch(void);
char* getgoroot(void);
Expand Down
2 changes: 0 additions & 2 deletions include/plan9/mach.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#pragma src "/sys/src/go/src/libmach"
#pragma lib "/sys/src/go/lib/$M/libmach.a"
#include "../mach.h"
2 changes: 0 additions & 2 deletions src/cmd/cc/cc.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
#include <libc.h>
#include <bio.h>

#pragma lib "../cc/cc.a$O"

#ifndef EXTERN
#define EXTERN extern
#endif
Expand Down
2 changes: 0 additions & 2 deletions src/cmd/gc/go.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

#include <bio.h>

#pragma lib "../gc/gc.a$O"

#undef OAPPEND

// avoid <ctype.h>
Expand Down

0 comments on commit 7ac0369

Please sign in to comment.